From 525cc22591bd4c75949b4698e6b634b9de411a2a Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Thu, 14 Mar 2019 10:38:50 -0700 Subject: Documentation clean target cleans better Instead of deleting the html folder, and thus blowing away the submodule, delete the contents so that when we rebuild the docs we get rid of old versions we don't need. Signed-off-by: Nathaniel Graff --- doc/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/Makefile b/doc/Makefile index 972a080..dd9ce13 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -10,13 +10,13 @@ all: html ########################### .PHONY: html -html: html/index.html +html: clean html/index.html -# Use Sphinx to build HTML from Doxygen XML +# Use Sphinx to build HTML documentation html/index.html: sphinx/* sphinx-build -b html sphinx html .PHONY: clean clean: - rm -rf html + rm -rf html/* html/.buildinfo html/.doctrees -- cgit v1.2.3 From 850f9944adb0a0b62d467e5e78662d9e03eaa07d Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Thu, 14 Mar 2019 13:19:25 -0700 Subject: Document the githubpages Sphinx module in conf.py Signed-off-by: Nathaniel Graff --- doc/sphinx/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py index d41a8a8..804ca5b 100644 --- a/doc/sphinx/conf.py +++ b/doc/sphinx/conf.py @@ -40,7 +40,7 @@ release = version # ones. extensions = [ 'sphinx.ext.intersphinx', - 'sphinx.ext.githubpages', + 'sphinx.ext.githubpages', # Creates the .nojekyll file for GitHub Pages ] # Add any paths that contain templates here, relative to this directory. -- cgit v1.2.3