|
@@ -6,6 +6,7 @@ SPHINXOPTS =
|
|
SPHINXBUILD = sphinx-build
|
|
SPHINXBUILD = sphinx-build
|
|
PAPER =
|
|
PAPER =
|
|
BUILDDIR = _build
|
|
BUILDDIR = _build
|
|
|
|
+PYTHON = python
|
|
|
|
|
|
# Internal variables.
|
|
# Internal variables.
|
|
PAPEROPT_a4 = -D latex_paper_size=a4
|
|
PAPEROPT_a4 = -D latex_paper_size=a4
|
|
@@ -38,6 +39,7 @@ help:
|
|
# @echo " linkcheck to check all external links for integrity"
|
|
# @echo " linkcheck to check all external links for integrity"
|
|
# @echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
|
# @echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
|
@echo " docs to build the docs and copy the static files to the outputdir"
|
|
@echo " docs to build the docs and copy the static files to the outputdir"
|
|
|
|
+ @echo " server to serve the docs in your browser under \`http://localhost:8000\`"
|
|
@echo " publish to publish the app to dotcloud"
|
|
@echo " publish to publish the app to dotcloud"
|
|
|
|
|
|
clean:
|
|
clean:
|
|
@@ -49,6 +51,8 @@ docs:
|
|
@echo
|
|
@echo
|
|
@echo "Build finished. The documentation pages are now in $(BUILDDIR)/html."
|
|
@echo "Build finished. The documentation pages are now in $(BUILDDIR)/html."
|
|
|
|
|
|
|
|
+server:
|
|
|
|
+ @cd $(BUILDDIR)/html; $(PYTHON) -m SimpleHTTPServer 8000
|
|
|
|
|
|
site:
|
|
site:
|
|
cp -r website $(BUILDDIR)/
|
|
cp -r website $(BUILDDIR)/
|