Skip to content

Commit 7fb513a

Browse files
committed
docs: Add sphinx autobuild for auto rebuilding the docs in a local server
Add this tooling for easier docs development.
1 parent 7033666 commit 7fb513a

File tree

3 files changed

+266
-3
lines changed

3 files changed

+266
-3
lines changed

docs/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ BUILDDIR = build
1111
help:
1212
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1313

14-
.PHONY: help Makefile
14+
.PHONY: help Makefile livehtml
15+
16+
livehtml:
17+
sphinx-autobuild "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1518

1619
# Catch-all target: route all unknown targets to Sphinx using the new
1720
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).

0 commit comments

Comments
 (0)