Skip to content

Commit 329b39e

Browse files
committed
Add sphinx-autobuild to work locally
1 parent 75eb682 commit 329b39e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@ help:
1616
# Catch-all target: route all unknown targets to Sphinx using the new
1717
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1818
%: Makefile
19-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
19+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
20+
21+
livehtml:
22+
sphinx-autobuild -b html --ignore "autoapi/*" --ignore "*#*" --watch "../hoverxref" $(SPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/html

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ sphinx-tabs==1.1.13
55
sphinx-prompt==1.1.0
66
sphinx-version-warning==1.1.2
77
sphinx-notfound-page==0.4
8+
sphinx-autobuild==0.7.1

0 commit comments

Comments
 (0)