Skip to content

Commit ade323f

Browse files
committed
[no ci] docs: fix path for local extensions
1 parent 60b88cb commit ade323f

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

docsrc/pre-build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def patch_conf(sourcedir):
6565
"_static/bayesflow_hor_dark.png",
6666
"_static/bayesflow_hor.png",
6767
"_static/custom.css",
68+
"sphinxext/override_pst_pagetoc.py",
6869
]
6970
for path in copy_rel_paths:
7071
srcfile = cursrc / path

docsrc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
current = "local"
2727

2828
sys.path.insert(0, os.path.abspath("../.."))
29-
sys.path.insert(0, os.path.abspath("../sphinxext"))
29+
sys.path.insert(0, os.path.abspath("sphinxext"))
3030

3131
# might set copyright end to wrong year -> remove
3232
if "SOURCE_DATE_EPOCH" in os.environ:

0 commit comments

Comments
 (0)