Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit047ad3b

Browse files
committed
MNT: Fix doc makefiles
- match make.bat with Makefile- clean sg_execution_times.rst and git ignore it (see sphinx gallery#1198)
1 parent07a6f66 commit047ad3b

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ result_images
8383
doc/_static/constrained_layout*.png
8484
doc/.mpl_skip_subdirs.yaml
8585
doc/_tags
86+
sg_execution_times.rst
8687

8788
# Nose/Pytest generated files #
8889
###############################

‎doc/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ clean:
2626
rm -rf"$(SOURCEDIR)/savefig"
2727
rm -rf"$(SOURCEDIR)/sphinxext/__pycache__"
2828
rm -f$(SOURCEDIR)/_static/constrained_layout*.png
29+
rm -f$(SOURCEDIR)/sg_execution_times.rst
2930

3031
show:
3132
@python -c"import webbrowser; webbrowser.open_new_tab('file://$(shell pwd)/build/html/index.html')"

‎doc/make.bat‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ if "%1" == "clean" (
4040
rmdir /s /q"%SOURCEDIR%\gallery"
4141
rmdir /s /q"%SOURCEDIR%\plot_types"
4242
rmdir /s /q"%SOURCEDIR%\tutorials"
43+
rmdir /s /q"%SOURCEDIR%\users\explain"
4344
rmdir /s /q"%SOURCEDIR%\savefig"
4445
rmdir /s /q"%SOURCEDIR%\sphinxext\__pycache__"
46+
del /q"%SOURCEDIR%\_static\constrained_layout*.png"
47+
del /q"%SOURCEDIR%\sg_execution_times.rst"
4548
)
4649
goto end
4750

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp