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

Appearance settings

Commit a299ff9

Browse filesBrowse files
committed
Extend sphinx Makefile to cleanup completely
1 parent 4015343 commit a299ff9
Copy full SHA for a299ff9

File tree

Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed

‎doc/Makefile

Copy file name to clipboardExpand all lines: doc/Makefile
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ help:
1414

1515
.PHONY: help Makefile
1616

17+
# workaround because sphinx does not completely clean up (#11139)
18+
clean:
19+
@$(SPHINXBUILD) -M clean "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
20+
rm -rf "$(SOURCEDIR)/build"
21+
rm -rf "$(SOURCEDIR)/api/_as_gen"
22+
rm -rf "$(SOURCEDIR)/gallery"
23+
rm -rf "$(SOURCEDIR)/tutorials"
24+
rm -rf "$(SOURCEDIR)/savefig"
25+
rm -rf "$(SOURCEDIR)/sphinxext/__pycache__"
26+
1727
# Catch-all target: route all unknown targets to Sphinx using the new
1828
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1929
%: Makefile

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.