Debian Codegraph @

doc/Makefile

raw symbols SCIP
1 # Makefile for Sphinx documentation
2 #
3
4 # You can set these variables from the command line.
5 SPHINXOPTS =
6 SPHINXBUILD = sphinx-build
7 SPHINXPROJ = scikit-misc
8 SOURCEDIR = .
9 PAPER =
10 BUILDDIR = _build
11
12 # For make theme
13 theme = cerulean
14 brand-primary = \#194f7f
15 success = \#0e6957
16 text-color = \#333333
17 headings-color = \#333231
18 headings-font-weight = bold
19 font-family-sans-serif = '"Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif'
20
21 # Colors for echo
22 blue:=$(shell tput setaf 4)
23 reset:=$(shell tput sgr0) # reset color codes
24
25 # Put it first so that "make" without argument is like "make help".
26 help:
27 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
28 @echo "${blue} theme${reset} to create a custom sphinx boostrap theme"
29
30 .PHONY: help Makefile theme
31
32 # Catch-all target: route all unknown targets to Sphinx using the new
33 # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
34 %: Makefile
35 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
36
37 theme:
38 ../tools/build_theme.sh --theme $(theme) \
39 --brand-primary '$(brand-primary)' \
40 --brand-success '$(success)' \
41 --text-color '$(text-color)' \
42 --headings-color '$(headings-color)' \
43 --headings-font-weight $(headings-font-weight) \
44 --font-family-sans-serif '$(font-family-sans-serif)'