Skip to content

Commit

Permalink
Set missing environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Apr 3, 2024
1 parent b5c30c9 commit 3ffebdd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

from pkg_resources import get_distribution

if os.environ.get("READTHEDOCS"):
checkout_name = os.path.basename(os.path.dirname(os.path.realpath(__file__)))
os.environ["_MJ_INSTALL_DIR"] = os.path.realpath(
os.path.join("..", "..", "conda", checkout_name, "lib")
)

import jaxsim

# -- Version information
Expand Down

0 comments on commit 3ffebdd

Please sign in to comment.