Skip to content

Commit 95640e0

Browse files
committed
MNT rename build directories with an underscore
1 parent 0a0b9eb commit 95640e0

5 files changed

Lines changed: 7 additions & 9 deletions

File tree

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@ __pycache__
99

1010
# Documentation build
1111
doc/_build/
12-
doc/_statis/
13-
doc/_template/
14-
doc/auto_examples/
12+
doc/_auto_examples/

doc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ help:
2020
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2121

2222
clean:
23-
rm -rf $(BUILDDIR)/*
24-
rm -rf auto_examples/
23+
rm -rf $(BUILDDIR)/
24+
rm -rf _auto_examples/
2525

2626
html-noplot:
2727
$(SPHINXBUILD) -D plot_gallery=0 -b html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

doc/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
# path to your examples scripts
4747
'examples_dirs': '../tutorials',
4848
# path where to save gallery generated examples
49-
'gallery_dirs': 'auto_examples',
49+
'gallery_dirs': '_auto_examples',
5050
# which files to execute? only those with "plot_"
5151
'filename_pattern': 'plot_',
5252
# 'ignore_pattern': 'download',
@@ -57,7 +57,7 @@
5757
}
5858

5959
# Add any paths that contain templates here, relative to this directory.
60-
templates_path = ['_templates']
60+
templates_path = ['templates']
6161

6262
# The suffix(es) of source filenames.
6363
# You can specify multiple suffix as a list of string:
@@ -124,7 +124,7 @@
124124
# Add any paths that contain custom static files (such as style sheets) here,
125125
# relative to this directory. They are copied after the builtin static files,
126126
# so a file named "default.css" will overwrite the builtin "default.css".
127-
html_static_path = ['_static']
127+
html_static_path = ['static']
128128

129129
# Custom sidebar templates, must be a dictionary that maps document names
130130
# to template names.

doc/create_notebooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
import shutil
55

6-
archive_name = "auto_examples/auto_examples_jupyter.zip"
6+
archive_name = "_auto_examples/auto_examples_jupyter.zip"
77
if not os.path.exists(archive_name):
88
raise RuntimeError(
99
f"{archive_name} does not exist, please run `make html` first.")

0 commit comments

Comments
 (0)