Skip to content

Commit

Permalink
Fix version reference
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Oct 4, 2023
1 parent cca36a6 commit d77a351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

# -- Version information

sys.path.insert(0, pathlib.Path(__file__).parents[2].absolute())
sys.path.insert(0, pathlib.Path(__file__).parents[1].absolute())
version_file = (
pathlib.Path(__file__).parents[2].absolute() / "src" / "jaxsim" / "version.txt"
pathlib.Path(__file__).parents[1].absolute() / "src" / "jaxsim" / "version.txt"
)

with open(version_file) as file_handler:
Expand Down

0 comments on commit d77a351

Please sign in to comment.