8000 DOC documents the new way of building sphinx-doc · matplotlib/matplotlib@ed05541 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ed05541

Browse files
committed
DOC documents the new way of building sphinx-doc
1 parent 32906a8 commit ed05541

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

doc/README.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ or conda::
1515

1616
conda install sphinx numpydoc ipython mock colorspacious pillow
1717

18-
To build the HTML documentation, type ``python make.py html`` in this
18+
To build the HTML documentation, type ``make html`` in this
1919
directory. The top file of the results will be ./build/html/index.html
2020

2121
**Note that Sphinx uses the installed version of the package to build the
@@ -24,9 +24,8 @@ generated.
2424

2525
You can build the documentation with several options:
2626

27-
* `--small` saves figures in low resolution.
28-
* `--allowsphinxwarnings`: Don't turn Sphinx warnings into errors.
29-
* `-n N` enables parallel build of the documentation using N process.
27+
* `make html-small-plots` saves figures in low resolution.
28+
* `-j N` enables parallel build of the documentation using N process.
3029

3130
Organization
3231
-------------
@@ -47,7 +46,7 @@ python documentation system built on top of ReST. This directory contains
4746
* mpl_toolkits - documentation of individual toolkits that ship with
4847
matplotlib
4948

50-
* make.py - the build script to build the html or PDF docs
49+
* Makefile and make.bat - the build script to build the html or PDF docs
5150

5251
* index.rst - the top level include document for matplotlib docs
5352

@@ -61,4 +60,3 @@ python documentation system built on top of ReST. This directory contains
6160

6261
* mpl_examples - a link to the matplotlib examples in case any
6362
documentation wants to literal include them
64-

doc/devel/documenting_mpl.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,9 @@ The documentation sources are found in the :file:`doc/` directory in
1515
the trunk. To build the users guide in html format, cd into
1616
:file:`doc/` and do::
1717

18-
python make.py html
18+
make
1919

20-
or::
21-
22-
./make.py html
23-
24-
you can also pass a ``latex`` flag to make.py to build a pdf, or pass no
25-
arguments to build everything.
20+
you can also pass a ``latex`` flag to make to build a pdf.
2621

2722
The output produced by Sphinx can be configured by editing the :file:`conf.py`
2823
file located in the :file:`doc/`.

doc/devel/release_guide.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ stats for all work done since that release.
144144
In the matplotlib source repository, build the documentation::
145145

146146
cd doc
147-
python make.py html
148-
python make.py latex
147+
make html
148+
make latex
149149

150150
Then copy the build products into your local checkout of the
151151
`matplotlib.github.com` repository (assuming here to be checked out in

0 commit comments

Comments
 (0)
0