-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Docs/contrib #12584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs/contrib #12584
Changes from all commits
7005e23
1e59b4c
1f3637f
fabaac9
2f05283
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,27 +41,46 @@ documentation built into their comments. Don't directly edit the | |
``.rst`` files in :file:`doc/gallery` and :file:`doc/tutorials` as they are | ||
regenerated when the documentation are built. | ||
|
||
Installing dependencies | ||
|
||
Dependencies | ||
----------------------- | ||
|
||
The documentation for Matplotlib is generated from reStructuredText (ReST_) | ||
using the Sphinx_ documentation generation tool. There are several extra | ||
requirements that are needed to build the documentation. They are listed in | ||
:file:`doc-requirements.txt` and listed below: | ||
requirements, in addition to those in :ref:`Contributing <contributing>`, that are needed to build the documentation. They are listed in | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://16523-1385122-gh.circle-artifacts.com/0/home/circleci/project/doc/build/html/devel/contributing.html actially doesn't list the dependencies. The whole paragraph could be rephrased to:
|
||
:file:`doc-requirements.txt` and below: | ||
|
||
* Sphinx>=1.3, !=1.5.0, !=1.6.4, !=1.7.3 | ||
* Sphinx | ||
* colorspacious | ||
* IPython | ||
* numpydoc>=0.8 | ||
* Pillow>=3.4 | ||
* sphinx-gallery>=0.2 | ||
* numpydoc | ||
* Pillow | ||
* sphinx-gallery | ||
* LaTeX | ||
* graphviz | ||
|
||
.. note:: | ||
|
||
* You'll need a minimal working LaTeX distribution for many examples to run. | ||
* `Graphviz <http://www.graphviz.org/Download.php>`_ is not a Python package, | ||
and needs to be installed separately. | ||
* You'll need a minimal working `LaTeX <https://www.latex-project.org/>`_ distribution for many examples in the documentation to run. | ||
* `Graphviz <http://www.graphviz.org/>`_ is not a Python package, | ||
and needs to be installed separately. | ||
|
||
|
||
Install dependencies and create a documentation development environment | ||
----------------------------------------------------------------------- | ||
|
||
* See :ref:`installing_for_devs` and :ref:`how_to_contribute` to get the latest version of the code, set up a development environment, and create pull requests. | ||
|
||
* Install the python dependencies in `doc-requirements.txt`: | ||
|
||
.. note:: | ||
|
||
* colorspacious must be installed using conda-forge, not conda | ||
|
||
* Install the `LaTeX <https://www.latex-project.org/>`_ version for your OS | ||
* Install `Graphviz <http://www.graphviz.org/>`_ for your OS | ||
|
||
|
||
|
||
Building the docs | ||
----------------- | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.