mirror of
https://gitlab.com/fabinfra/fabaccess/docs.git
synced 2025-02-23 00:22:52 +01:00
Add make serve
opening a local dev server
This commit is contained in:
parent
5631c18d8a
commit
c794881d4f
6
Makefile
6
Makefile
@ -12,7 +12,11 @@ BUILDDIR = build
|
|||||||
help:
|
help:
|
||||||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||||
|
|
||||||
.PHONY: help Makefile
|
serve:
|
||||||
|
@$(MAKE) html
|
||||||
|
cd $(BUILDDIR)/html && python -m http.server
|
||||||
|
|
||||||
|
.PHONY: help serve Makefile
|
||||||
|
|
||||||
# Catch-all target: route all unknown targets to Sphinx using the new
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user