Skip to content

Commit a5b5d45

Browse files
committed
Add "clean-autosummary" docs Makefile target
1 parent 23a4e30 commit a5b5d45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ BUILDDIR = _build
1212
help:
1313
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1414

15+
clean-autosummary:
16+
find . -name "$(BUILDDIR)" -prune -o -iname _api -print0 | xargs -0 rm -rf
17+
1518
.PHONY: help Makefile
1619

1720
# Catch-all target: route all unknown targets to Sphinx using the new

0 commit comments

Comments
 (0)