Skip to content

Commit ac28abb

Browse files
committed
BF: DOCS: fix slash for windows in conf.py
1 parent 1233840 commit ac28abb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# serve to show the default value.
1111

1212
import os
13+
from pathlib import Path
1314
import shutil
1415
import subprocess
1516
import sys
@@ -158,7 +159,7 @@ def _check_dependencies():
158159
'numpy': 'https://docs.scipy.org/doc/numpy/',
159160
'scipy': 'https://docs.scipy.org/doc/scipy/reference/',
160161
},
161-
'backreferences_dir': 'api/_as_gen',
162+
'backreferences_dir': Path('api') / Path('_as_gen'),
162163
'subsection_order': gallery_order.sectionorder,
163164
'within_subsection_order': gallery_order.subsectionorder,
164165
'remove_config_comments': True,

0 commit comments

Comments
 (0)