forked from bokeh/bokeh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (24 loc) · 886 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
28
29
30
31
32
# Makefile for Sphinx documentation
# You can set these variables from the command line.
SPHINXBUILD = sphinx-build
BUILDDIR = build
# Internal variables.
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(SPHINXOPTS) source -W
.PHONY: help clean html serve
help:
@echo "Please use 'make <target>' where <target> is one of"
@echo " all to make all standalone HTML files"
@echo " clean to clear all built documentation files"
@echo " html to make standalone (non-gallery) HTML files"
@echo " serve to serve the generated HTML and open a browser"
all: html
clean:
-rm -rf $(BUILDDIR)/*
-rm -rf source/docs/gallery/*
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
cp -r ../bokeh/server/static $(BUILDDIR)/html/
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
serve:
python docserver.py