-
-
Notifications
You must be signed in to change notification settings - Fork 399
/
Makefile
27 lines (20 loc) · 688 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS = -b html
SPHINXBUILD = sphinx-build
SPHINXPROJ = ArviZ
SOURCEDIR = doc/source
BUILDDIR = doc/build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
html:
sphinx-build "$(SOURCEDIR)" "$(BUILDDIR)" -b html
livehtml:
sphinx-autobuild "$(SOURCEDIR)" "$(BUILDDIR)" -b html
cleandocs:
rm -r "$(BUILDDIR)" "doc/jupyter_execute" "$(SOURCEDIR)/api/generated" "$(SOURCEDIR)/examples"
preview:
python -m webbrowser "$(BUILDDIR)/index.html"