Documentation: Add make rule for sphinx-autobuild
Add livesphinx to start sphinx-autobuild Change-Id: I9eb3217e758c2c882c759fa7ae75a39aaf1a0358 Signed-off-by: Tom Hiller <thrilleratplay@gmail.com> Reviewed-on: https://review.coreboot.org/28210 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
ab36e26caa
commit
651b11be2d
|
@ -74,3 +74,6 @@ clean: clean-sphinx
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f corebootPortingGuide.pdf Kconfig.pdf
|
rm -f corebootPortingGuide.pdf Kconfig.pdf
|
||||||
|
|
||||||
|
livesphinx:
|
||||||
|
$(MAKE) -f Makefile.sphinx livehtml
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
# You can set these variables from the command line.
|
# You can set these variables from the command line.
|
||||||
SPHINXOPTS =
|
SPHINXOPTS =
|
||||||
SPHINXBUILD = sphinx-build
|
SPHINXBUILD = sphinx-build
|
||||||
|
SPHINXAUTOBUILD = sphinx-autobuild
|
||||||
PAPER =
|
PAPER =
|
||||||
BUILDDIR = _build
|
BUILDDIR = _build
|
||||||
|
|
||||||
|
@ -54,6 +55,12 @@ html:
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
||||||
|
|
||||||
|
.PHONY: livehtml
|
||||||
|
livehtml:
|
||||||
|
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)
|
||||||
|
@echo
|
||||||
|
@echo "Autobuild finished. The HTML pages are in $(BUILDDIR)."
|
||||||
|
|
||||||
.PHONY: dirhtml
|
.PHONY: dirhtml
|
||||||
dirhtml:
|
dirhtml:
|
||||||
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
||||||
|
|
Loading…
Reference in New Issue