File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 55# from the environment for the first two.
66SPHINXOPTS ?=
77SPHINXBUILD ?= sphinx-build
8+ SPHINXAUTOBUILD = sphinx-autobuild
89SOURCEDIR = source
910BUILDDIR = build
1011
1415
1516.PHONY : help Makefile
1617
18+ # Run the development server using sphinx-autobuild
19+ docs :
20+ @echo
21+ @echo " Starting up the docs server..."
22+ @echo
23+ $(SPHINXAUTOBUILD ) --port 8000 --watch ${SOURCEDIR} $(SOURCEDIR ) " $( BUILDDIR) /html" $(SPHINXOPTS ) $(O )
24+
1725# Catch-all target: route all unknown targets to Sphinx using the new
1826# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1927% : Makefile
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ snowballstemmer==2.2.0
101101soupsieve == 2.3.2
102102Sphinx == 4.5.0
103103sphinxcontrib-applehelp == 1.0.2
104+ sphinx-autobuild == 2024.10.3
104105sphinxcontrib-devhelp == 1.0.2
105106sphinxcontrib-django2 == 1.5
106107sphinxcontrib-htmlhelp == 2.0.0
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ dev =
111111 Sphinx>=4.5.0
112112 sphinx_rtd_theme>=1.0.0
113113 sphinxcontrib-django2>=1.5
114+ sphinx-autobuild>=2024.10.3
114115 # Tests
115116 pytest>=7.0.1
116117 pytest-django>=4.5.2
You can’t perform that action at this time.
0 commit comments