Skip to content
Snippets Groups Projects
Commit c14a8c6d authored by Nathan Hertz's avatar Nathan Hertz
Browse files

Added new clean target; added gen_rst target, which will re-generate RST

files from our API
parent 922771d4
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,10 @@ BUILDDIR = _build
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
.PHONY: help Makefile gen_rst env_setup clean
gen_rst:
find .. -name src -exec sphinx-apidoc -e -M -f --ext-autodoc -o source/api {} \;
env_setup:
pip3 install -r requirements.txt
......@@ -21,3 +24,6 @@ env_setup:
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile env_setup
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
clean:
rm -rf $(BUILDDIR)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment