Skip to content

Commit 0f8cf58

Browse files
fixed autodoc ?
1 parent c577502 commit 0f8cf58

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/source/conf.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,16 @@
1010
# add these directories to sys.path here. If the directory is relative to the
1111
# documentation root, use os.path.abspath to make it absolute, like shown here.
1212
#
13-
# import os
14-
# import sys
15-
# sys.path.insert(0, os.path.abspath('.'))
13+
from os.path import dirname, join, abspath
14+
import sphinx_rtd_theme
15+
import os
16+
import sys
17+
sys.path.insert(0, os.path.abspath('../..'))
1618

1719

1820
# -- Project information -----------------------------------------------------
1921

2022

21-
import sphinx_rtd_theme
22-
from os.path import dirname, join, abspath
23-
24-
2523
def read(rel_path: str) -> str:
2624
here = abspath(dirname(__file__))
2725
with open(join(here, rel_path)) as fp:

0 commit comments

Comments
 (0)