File tree 5 files changed +7
-5
lines changed
5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ html-noplot:
38
38
# to quickly build parts of the docs, but the resulting build will not
39
39
# have all the crosslinks etc.
40
40
html-skip-subdirs :
41
- $(SPHINXBUILD ) -D skip_subdirs =1 -b html $(SOURCEDIR ) $(BUILDDIR ) /html $(SPHINXOPTS ) $(O )
41
+ $(SPHINXBUILD ) -D skip_sub_dirs =1 -b html $(SOURCEDIR ) $(BUILDDIR ) /html $(SPHINXOPTS ) $(O )
42
42
43
43
# Catch-all target: route all unknown targets to Sphinx using the new
44
44
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
Original file line number Diff line number Diff line change @@ -61,14 +61,14 @@ def _parse_skip_subdirs_file():
61
61
yaml .dump (yamldict , fout )
62
62
print ('Skipping subdirectories, but .mpl_skip_subdirs.yaml' ,
63
63
'not found so creating a default one. Edit this file' ,
64
- 'to customize which diretories are included in build.' )
64
+ 'to customize which directories are included in build.' )
65
65
66
66
return default_skip_subdirs
67
67
68
68
69
69
skip_subdirs = []
70
70
# triggered via make html-skip-subdirs
71
- if 'skip_subdirs =1' in sys .argv :
71
+ if 'skip_sub_dirs =1' in sys .argv :
72
72
skip_subdirs = _parse_skip_subdirs_file ()
73
73
74
74
# Parse year using SOURCE_DATE_EPOCH, falling back to current time.
@@ -757,6 +757,6 @@ def setup(app):
757
757
bld_type = 'dev'
758
758
else :
759
759
bld_type = 'rel'
760
- app .add_config_value ('skip_subdirs ' , 0 , '' )
760
+ app .add_config_value ('skip_sub_dirs ' , 0 , '' )
761
761
app .add_config_value ('releaselevel' , bld_type , 'env' )
762
762
app .connect ('html-page-context' , add_html_cache_busting , priority = 1000 )
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ goto end
53
53
goto end
54
54
55
55
:html-skip-subdirs
56
- %SPHINXBUILD% -M html %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% -D skip_subdirs =1
56
+ %SPHINXBUILD% -M html %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% -D skip_sub_dirs =1
57
57
goto end
58
58
59
59
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ dependencies:
33
33
- numpydoc>=0.8
34
34
- packaging
35
35
- pydata-sphinx-theme
36
+ - pyyaml
36
37
- sphinx>=1.8.1,!=2.0.0
37
38
- sphinx-copybutton
38
39
- sphinx-gallery>=0.10
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ numpydoc>=1.0
15
15
packaging>=20
16
16
pydata-sphinx-theme>=0.12.0
17
17
mpl-sphinx-theme
18
+ pyyaml
18
19
sphinxcontrib-svg2pdfconverter>=1.1.0
19
20
sphinx-gallery>=0.10
20
21
sphinx-copybutton
You can’t perform that action at this time.
0 commit comments