1731.5.2
by Monty Taylor
Added sphinx to the build. |
1 |
# vim:ft=automake
|
2 |
# included from Top Level Makefile.am
|
|
3 |
# All paths should be given relative to the root
|
|
4 |
||
5 |
EXTRA_DIST+= \ |
|
6 |
docs/_static \ |
|
7 |
docs/_templates \ |
|
8 |
docs/conf.py \ |
|
1836.3.1
by Monty Taylor
Removed libdrizzle doxygen. Put in function stubs in sphinx. Someone can |
9 |
docs/Doxyfile \ |
1769.2.1
by Monty Taylor
Include files in tarball that were being left out. |
10 |
docs/drizzled_header.html \ |
1994.4.78
by Marisa Plumb
adding images to include.am file |
11 |
docs/logo.png \ |
2085.1.5
by Lee Bieber
fix typo |
12 |
docs/plugins/list.rst \ |
2203.1.1
by Monty Taylor
Adds support for '.' in option:: names. |
13 |
docs/pyext/__init__.py \ |
14 |
docs/pyext/options.py \ |
|
2210.1.1
by Andrew Hutchings
Add configuration option and database table domain processors |
15 |
docs/pyext/confval.py \ |
2210.1.2
by Andrew Hutchings
Missed off an include.am change |
16 |
docs/pyext/dbtable.py \ |
1994.4.78
by Marisa Plumb
adding images to include.am file |
17 |
docs/_static/drizzle.ico \ |
1794.2.9
by Monty Taylor
Made some TOC structure changes. Added stubs for a couple of command line |
18 |
${top_srcdir}/docs/*.rst \ |
1860.1.1
by Monty Taylor
Fixed several make dist errors pointed out by debian. |
19 |
${top_srcdir}/docs/clients/*.rst \ |
2197.2.2
by Andrew Hutchings
Add basic contributing section to docs |
20 |
${top_srcdir}/docs/contributing/*.rst \ |
1994.4.59
by Marisa Plumb
new string function docs |
21 |
${top_srcdir}/docs/libdrizzle/*.rst \ |
2114.1.3
by Lee Bieber
add docs/functions dir to docs/include.am |
22 |
${top_srcdir}/docs/installing/*.rst \ |
1892.4.1
by patrick crews
Added Sphinx docs for test-run.pl |
23 |
${top_srcdir}/docs/testing/*.rst |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
24 |
|
25 |
# Makefile for Sphinx documentation
|
|
26 |
#
|
|
27 |
||
2184.1.2
by Lee Bieber
Merge Marisa - adds logo references to the include file |
28 |
SPHINXOPTS = ${SPHINX_WARNINGS} -D release=${PANDORA_RELEASE_VERSION} |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
29 |
PAPER = |
30 |
SPHINX_BUILDDIR = ${top_builddir}/docs |
|
31 |
||
32 |
# Internal variables.
|
|
33 |
PAPEROPT_a4 = -D latex_paper_size=a4 |
|
34 |
PAPEROPT_letter = -D latex_paper_size=letter |
|
35 |
ALLSPHINXOPTS = -d $(SPHINX_BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) ${top_srcdir}/docs |
|
36 |
||
1836.3.1
by Monty Taylor
Removed libdrizzle doxygen. Put in function stubs in sphinx. Someone can |
37 |
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest doxygen |
38 |
||
39 |
doxygen: |
|
40 |
${DOXYGEN} docs/Doxyfile |
|
41 |
||
1731.5.2
by Monty Taylor
Added sphinx to the build. |
42 |
|
1800.2.1
by Monty Taylor
Made sure that sphinx-build can handle man builder. |
43 |
if HAVE_RECENT_SPHINX |
1800.1.6
by Monty Taylor
Only try to build the manpages if we have sphinx. Duh. |
44 |
man_MANS+= \ |
2325.1.1
by Andrew Hutchings
Remove all drizzleadmin code (hopefully) |
45 |
docs/man/drizzledump.1 |
1994.4.99
by Marisa Plumb
adding drizzleadmin as manpage in include.am |
46 |
DISTCLEANFILES+= \ |
2325.1.1
by Andrew Hutchings
Remove all drizzleadmin code (hopefully) |
47 |
docs/man/drizzledump.1 |
1994.4.99
by Marisa Plumb
adding drizzleadmin as manpage in include.am |
48 |
|
1799.3.2
by Monty Taylor
Use drizzledump sphinx docs as manpage source. |
49 |
docs/man/drizzledump.1: man |
1800.2.1
by Monty Taylor
Made sure that sphinx-build can handle man builder. |
50 |
endif
|
1799.3.2
by Monty Taylor
Use drizzledump sphinx docs as manpage source. |
51 |
|
1800.2.1
by Monty Taylor
Made sure that sphinx-build can handle man builder. |
52 |
if HAVE_SPHINX |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
53 |
sphinx-help: |
54 |
@echo "Please use \`make <target>' where <target> is one of" |
|
55 |
@echo " html to make standalone HTML files" |
|
56 |
@echo " dirhtml to make HTML files named index.html in directories" |
|
57 |
@echo " singlehtml to make a single large HTML file" |
|
58 |
@echo " pickle to make pickle files" |
|
59 |
@echo " json to make JSON files" |
|
60 |
@echo " htmlhelp to make HTML files and a HTML help project" |
|
61 |
@echo " qthelp to make HTML files and a qthelp project" |
|
62 |
@echo " devhelp to make HTML files and a Devhelp project" |
|
63 |
@echo " epub to make an epub" |
|
64 |
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" |
|
65 |
@echo " latexpdf to make LaTeX files and run them through pdflatex" |
|
66 |
@echo " text to make text files" |
|
67 |
@echo " man to make manual pages" |
|
68 |
@echo " changes to make an overview of all changed/added/deprecated items" |
|
69 |
@echo " linkcheck to check all external links for integrity" |
|
70 |
@echo " doctest to run all doctests embedded in the documentation (if enabled)" |
|
71 |
||
72 |
html-local: |
|
2203.1.1
by Monty Taylor
Adds support for '.' in option:: names. |
73 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/html |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
74 |
@echo |
75 |
@echo "Build finished. The HTML pages are in $(SPHINX_BUILDDIR)/html." |
|
76 |
||
77 |
dirhtml: |
|
2203.1.1
by Monty Taylor
Adds support for '.' in option:: names. |
78 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/dirhtml |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
79 |
@echo |
80 |
@echo "Build finished. The HTML pages are in $(SPHINX_BUILDDIR)/dirhtml." |
|
81 |
||
82 |
singlehtml: |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
83 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/singlehtml |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
84 |
@echo |
85 |
@echo "Build finished. The HTML page is in $(SPHINX_BUILDDIR)/singlehtml." |
|
86 |
||
87 |
pickle: |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
88 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/pickle |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
89 |
@echo |
90 |
@echo "Build finished; now you can process the pickle files." |
|
91 |
||
92 |
json: |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
93 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/json |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
94 |
@echo |
95 |
@echo "Build finished; now you can process the JSON files." |
|
96 |
||
97 |
htmlhelp: |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
98 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/htmlhelp |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
99 |
@echo |
100 |
@echo "Build finished; now you can run HTML Help Workshop with the" \ |
|
101 |
".hhp project file in $(SPHINX_BUILDDIR)/htmlhelp."
|
|
102 |
||
103 |
qthelp: |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
104 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/qthelp |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
105 |
@echo |
106 |
@echo "Build finished; now you can run "qcollectiongenerator" with the" \ |
|
107 |
".qhcp project file in $(SPHINX_BUILDDIR)/qthelp, like this:"
|
|
108 |
@echo "# qcollectiongenerator $(SPHINX_BUILDDIR)/qthelp/Drizzle.qhcp" |
|
109 |
@echo "To view the help file:" |
|
110 |
@echo "# assistant -collectionFile $(SPHINX_BUILDDIR)/qthelp/Drizzle.qhc" |
|
111 |
||
112 |
devhelp: |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
113 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/devhelp |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
114 |
@echo |
115 |
@echo "Build finished." |
|
116 |
@echo "To view the help file:" |
|
117 |
@echo "# mkdir -p $$HOME/.local/share/devhelp/Drizzle" |
|
118 |
@echo "# ln -s $(SPHINX_BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Drizzle" |
|
119 |
@echo "# devhelp" |
|
120 |
||
121 |
epub: |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
122 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/epub |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
123 |
@echo |
124 |
@echo "Build finished. The epub file is in $(SPHINX_BUILDDIR)/epub." |
|
125 |
||
126 |
latex: |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
127 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/latex |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
128 |
@echo |
129 |
@echo "Build finished; the LaTeX files are in $(SPHINX_BUILDDIR)/latex." |
|
130 |
@echo "Run \`make' in that directory to run these through (pdf)latex" \ |
|
131 |
"(use \`make latexpdf' here to do that automatically)."
|
|
132 |
||
133 |
latexpdf: latex |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
134 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/latex |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
135 |
@echo "Running LaTeX files through pdflatex..." |
136 |
make -C $(SPHINX_BUILDDIR)/latex all-pdf |
|
137 |
@echo "pdflatex finished; the PDF files are in $(SPHINX_BUILDDIR)/latex." |
|
138 |
||
139 |
text: |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
140 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/text |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
141 |
@echo |
142 |
@echo "Build finished. The text files are in $(SPHINX_BUILDDIR)/text." |
|
143 |
||
144 |
man: |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
145 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/man |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
146 |
@echo |
147 |
@echo "Build finished. The manual pages are in $(SPHINX_BUILDDIR)/man." |
|
148 |
||
149 |
changes: |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
150 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/changes |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
151 |
@echo |
152 |
@echo "The overview file is in $(SPHINX_BUILDDIR)/changes." |
|
153 |
||
154 |
linkcheck: |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
155 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/linkcheck |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
156 |
@echo |
157 |
@echo "Link check complete; look for any errors in the above output " \ |
|
158 |
"or in $(SPHINX_BUILDDIR)/linkcheck/output.txt."
|
|
159 |
||
160 |
doctest: |
|
2203.1.2
by Monty Taylor
How about we attach the python path decl to _ALL_ of the targets, not just |
161 |
PYTHONPATH=${top_srcdir}/docs $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(SPHINX_BUILDDIR)/doctest |
1731.5.2
by Monty Taylor
Added sphinx to the build. |
162 |
@echo "Testing of doctests in the sources finished, look at the " \ |
163 |
"results in $(SPHINX_BUILDDIR)/doctest/output.txt."
|
|
1731.5.3
by Monty Taylor
Wrapped sphinx rules in HAVE_SPHINX |
164 |
endif
|