Skip to content

Commit

Permalink
fix(rtd): add mmeval into pythonpath (open-mmlab#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-tong authored Oct 31, 2022
1 parent c9e24bd commit e2f6dbf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions docs/en/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
# 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.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import os
import pytorch_sphinx_theme
import sys

sys.path.insert(0, os.path.abspath('../..'))

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

Expand Down
7 changes: 4 additions & 3 deletions docs/zh_cn/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
# 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.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import os
import pytorch_sphinx_theme
import sys

sys.path.insert(0, os.path.abspath('../..'))

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

Expand Down

0 comments on commit e2f6dbf

Please sign in to comment.