Merge pull request #1028 from tahoe-lafs/3663.sphinx-autobuild-make-rule

Add a "make livehtml" rule for building documentation

Fixes: ticket:3663
This commit is contained in:
Sajith Sasidharan 2021-04-03 07:43:30 -04:00 committed by GitHub
commit cf04f277db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -214,3 +214,7 @@ pseudoxml:
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
@echo @echo
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml." @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
.PHONY: livehtml
livehtml:
sphinx-autobuild -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html

1
newsfragments/3663.other Normal file
View File

@ -0,0 +1 @@
You can run `make livehtml` in docs directory to invoke sphinx-autobuild.