Skip to content

Commit c715693

Browse files
doc update
1 parent 419ada5 commit c715693

32 files changed

+354
-6769
lines changed

doc/sphinx/Makefile.sphinx

Lines changed: 14 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- Makefile -*-
12
# Makefile for Sphinx documentation
23
#
34

@@ -7,19 +8,13 @@ SPHINXBUILD = sphinx-build
78
PAPER =
89
BUILDDIR = build
910

10-
# User-friendly check for sphinx-build
11-
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
12-
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
13-
endif
14-
1511
# Internal variables.
1612
PAPEROPT_a4 = -D latex_paper_size=a4
1713
PAPEROPT_letter = -D latex_paper_size=letter
1814
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
19-
# the i18n builder cannot share the environment and doctrees with the others
20-
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
15+
CLIENTSOPTS = -D master_doc=contents-client
2116

22-
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest coverage gettext
17+
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
2318

2419
help:
2520
@echo "Please use \`make <target>' where <target> is one of"
@@ -30,32 +25,29 @@ help:
3025
@echo " json to make JSON files"
3126
@echo " htmlhelp to make HTML files and a HTML help project"
3227
@echo " qthelp to make HTML files and a qthelp project"
33-
@echo " applehelp to make an Apple Help Book"
3428
@echo " devhelp to make HTML files and a Devhelp project"
3529
@echo " epub to make an epub"
3630
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
3731
@echo " latexpdf to make LaTeX files and run them through pdflatex"
38-
@echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
3932
@echo " text to make text files"
4033
@echo " man to make manual pages"
41-
@echo " texinfo to make Texinfo files"
42-
@echo " info to make Texinfo files and run them through makeinfo"
43-
@echo " gettext to make PO message catalogs"
4434
@echo " changes to make an overview of all changed/added/deprecated items"
45-
@echo " xml to make Docutils-native XML files"
46-
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
4735
@echo " linkcheck to check all external links for integrity"
4836
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
49-
@echo " coverage to run coverage check of the documentation (if enabled)"
5037

5138
clean:
52-
rm -rf $(BUILDDIR)/*
39+
-rm -rf $(BUILDDIR)/*
5340

5441
html:
5542
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
5643
@echo
5744
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
5845

46+
htmlclient:
47+
$(SPHINXBUILD) -b html $(CLIENTSOPTS) $(ALLSPHINXOPTS) $(BUILDDIR)/html-client
48+
@echo
49+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html-client."
50+
5951
dirhtml:
6052
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
6153
@echo
@@ -87,25 +79,17 @@ qthelp:
8779
@echo
8880
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
8981
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
90-
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/SimAVR.qhcp"
82+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/GVLab.qhcp"
9183
@echo "To view the help file:"
92-
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/SimAVR.qhc"
93-
94-
applehelp:
95-
$(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp
96-
@echo
97-
@echo "Build finished. The help book is in $(BUILDDIR)/applehelp."
98-
@echo "N.B. You won't be able to view it unless you put it in" \
99-
"~/Library/Documentation/Help or install it in your application" \
100-
"bundle."
84+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/GVLab.qhc"
10185

10286
devhelp:
10387
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
10488
@echo
10589
@echo "Build finished."
10690
@echo "To view the help file:"
107-
@echo "# mkdir -p $$HOME/.local/share/devhelp/SimAVR"
108-
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/SimAVR"
91+
@echo "# mkdir -p $$HOME/.local/share/devhelp/GVLab"
92+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/GVLab"
10993
@echo "# devhelp"
11094

11195
epub:
@@ -123,13 +107,7 @@ latex:
123107
latexpdf:
124108
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
125109
@echo "Running LaTeX files through pdflatex..."
126-
$(MAKE) -C $(BUILDDIR)/latex all-pdf
127-
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
128-
129-
latexpdfja:
130-
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
131-
@echo "Running LaTeX files through platex and dvipdfmx..."
132-
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
110+
make -C $(BUILDDIR)/latex all-pdf
133111
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
134112

135113
text:
@@ -142,24 +120,6 @@ man:
142120
@echo
143121
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
144122

145-
texinfo:
146-
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
147-
@echo
148-
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
149-
@echo "Run \`make' in that directory to run these through makeinfo" \
150-
"(use \`make info' here to do that automatically)."
151-
152-
info:
153-
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
154-
@echo "Running Texinfo files through makeinfo..."
155-
make -C $(BUILDDIR)/texinfo info
156-
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
157-
158-
gettext:
159-
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
160-
@echo
161-
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
162-
163123
changes:
164124
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
165125
@echo
@@ -175,18 +135,3 @@ doctest:
175135
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
176136
@echo "Testing of doctests in the sources finished, look at the " \
177137
"results in $(BUILDDIR)/doctest/output.txt."
178-
179-
coverage:
180-
$(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage
181-
@echo "Testing of coverage in the sources finished, look at the " \
182-
"results in $(BUILDDIR)/coverage/python.txt."
183-
184-
xml:
185-
$(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
186-
@echo
187-
@echo "Build finished. The XML files are in $(BUILDDIR)/xml."
188-
189-
pseudoxml:
190-
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
191-
@echo
192-
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."

doc/sphinx/make-html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
#! /bin/bash
22

33
make -f Makefile.sphinx html
4-
# xdg-open build/html/index.html
5-
6-
# End

0 commit comments

Comments
 (0)