@@ -50,23 +50,35 @@ Installing dependencies
50
50
-----------------------
51
51
52
52
The documentation for Matplotlib is generated from reStructuredText (ReST _)
53
- using the Sphinx _ documentation generation tool. There are several extra
54
- requirements that are needed to build the documentation. They are listed in
55
- :file: `doc-requirements.txt `, which is shown below:
53
+ using the Sphinx _ documentation generation tool. To build the documentation
54
+ you will need to (1) set up an appropriate Python environment and (2)
55
+ separately install LaTeX and Graphviz.
56
+
57
+ To (1) set up an appropriate Python environment for building the
58
+ documentation, you should:
59
+
60
+ * create a clean virtual environment with no existing Matplotlib
61
+ installation
62
+ * install the Python packages required for Matplotlib
63
+ * install the additional Python packages required to build the documentation
64
+
65
+ There are several extra python packages that are needed to build the
66
+ documentation. They are listed in :file: `doc-requirements.txt `, which is
67
+ shown below:
56
68
57
69
.. include :: ../../requirements/doc/doc-requirements.txt
58
70
:literal:
59
71
72
+ To (2) set up LaTeX and Graphviz dependencies you should:
73
+
74
+ * install a minimal working LaTeX distribution
75
+ * install the LaTeX packages cm-super and dvipng
76
+ * install `Graphviz <http://www.graphviz.org/download >`_
77
+
60
78
.. note ::
61
79
62
- * You should set up a clean virtual environment with no existing Matplotlib
63
- installation if you plan to build the documentation.
64
- * You'll need a minimal working LaTeX distribution to build the
65
- documentation.
66
- * The LaTeX pacakges cm-super and dvipng are also required to build the
67
- documentation.
68
- * `Graphviz <http://www.graphviz.org/download >`_ is not a Python package,
69
- and needs to be installed separately.
80
+ The documentation will not build without LaTeX and Graphviz. These are not
81
+ Python packages and must be installed separately.
70
82
71
83
Building the docs
72
84
-----------------
0 commit comments