diff --git a/.gitignore b/.gitignore index 6b3e6814..9ebee0f0 100644 --- a/.gitignore +++ b/.gitignore @@ -148,3 +148,4 @@ dmypy.json # inkycal tests /inkycal/tests/tmp/ !/inkycal/tests/*.py +/docsource/._build/ diff --git a/docsource/Makefile b/docsource/Makefile index 88d58fd0..e3816857 100644 --- a/docsource/Makefile +++ b/docsource/Makefile @@ -6,12 +6,16 @@ SPHINXOPTS ?= SPHINXBUILD ?= sphinx-build SOURCEDIR = . -BUILDDIR = ../docs +BUILDDIR = ._build # Put it first so that "make" without argument is like "make help". help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) +github: + @make html + @cp -a ._build/html/. ../docs + .PHONY: help Makefile # Catch-all target: route all unknown targets to Sphinx using the new