Skip to content

Commit

Permalink
docs: support deleting automatically generated files via make clean
Browse files Browse the repository at this point in the history
  • Loading branch information
graczhual committed Nov 24, 2021
1 parent 8f537e1 commit 8c2c3c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ instance/
docs/_build/

# Documentation generated rst files
docs/source/reference/api/api_rst/
docs/source/reference/api/generated/

# PyBuilder
target/
Expand Down
4 changes: 4 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ help:
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

clean:
-rm -rf $(BUILDDIR)/*
-rm -rf $(SOURCEDIR)/reference/api/generated/
2 changes: 1 addition & 1 deletion docs/source/reference/api/opendataset.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tensorbay.opendataset

.. autosummary::
:nosignatures:
:toctree: api_rst/
:toctree: generated/

AADB
AnimalPose5
Expand Down

0 comments on commit 8c2c3c6

Please sign in to comment.