Skip to content

Commit

Permalink
Fix the doc code root.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinEnjalbert committed Nov 27, 2024
1 parent 7f6c9bd commit 09ac93d
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,10 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.

from os.path import abspath, join, pardir
import os
import sys

# DeepPhysX root
root = abspath(join(abspath(__file__), pardir, pardir, pardir, 'src', 'Core'))
all_modules = ['AsyncSocket', 'Database', 'Environment', 'Manager', 'Network', 'Pipelines', 'Visualization']

# Import all modules
sys.path.append(root)
for module in all_modules:
sys.path.append(join(root, module))
sys.path.insert(0, os.path.abspath('../../src'))

# -- Project information -----------------------------------------------------

Expand Down

0 comments on commit 09ac93d

Please sign in to comment.