8000 docs(Makefile): Clean apidocs, ignore apidocs and _buld in sphinx-aut… · tmux-python/libtmux@21f0926 · GitHub
[go: up one dir, main page]

Skip to content

Commit 21f0926

Browse files
committed
docs(Makefile): Clean apidocs, ignore apidocs and _buld in sphinx-autobuild
1 parent b2d5f41 commit 21f0926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ help:
4141
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
4242

4343
clean:
44-
-rm -rf $(BUILDDIR)/*
44+
-rm -rf $(BUILDDIR)/* apidocs
4545

4646
html:
4747
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@@ -181,7 +181,7 @@ dev:
181181
$(MAKE) -j watch serve
182182

183183
start:
184-
poetry run sphinx-autobuild "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) --port ${HTTP_PORT} $(O)
184+
poetry run sphinx-autobuild "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) --port ${HTTP_PORT} --ignore "apidocs/*" --ignore "_build/*" $(O)
185185

186186
design:
187187
# This adds additional watch directories (for _static file changes) and disable incremental builds

0 commit comments

Comments
 (0)
0