File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 11sphinx ~= 4.5.0
22sphinx-rtd-theme ~= 1.0.0
3- sphinx-copybutton ~= 0.5.0
3+ sphinx-copybutton ~= 0.5.0
4+ --editable .
Original file line number Diff line number Diff line change 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- from os .path import dirname , join , abspath
14- import sphinx_rtd_theme
15- import os
16- import sys
17-
18- sys .path .insert (
19- 0 ,
20- os .path .abspath (os .path .join (os .path .dirname (__file__ ), ".." , ".." ))
21- )
13+ # import os
14+ # import sys
15+ # sys.path.insert(0, os.path.abspath('.'))
2216
2317
2418# -- Project information -----------------------------------------------------
2519
2620
21+ import sphinx_rtd_theme
22+ from os .path import dirname , join , abspath
23+
24+
2725def read (rel_path : str ) -> str :
2826 here = abspath (dirname (__file__ ))
2927 with open (join (here , rel_path )) as fp :
You can’t perform that action at this time.
0 commit comments