-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
updating developer docs #8544
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
updating developer docs #8544
Changes from 1 commit
83129fa
0baccc7
530c62d
23f4757
5efe61c
ff1b20e
c6866a0
d73ff15
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,21 +27,23 @@ as well as listed below: | |
.. note:: | ||
|
||
* You'll need a minimal working latex distribution for many examples to run. | ||
* Graphviz is not pip-installable so you need to install this on your own. | ||
* `Graphviz <http://graphviz.readthedocs.io/en/latest/manual.html>`_ is not pip-installable so you need | ||
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. This link is not to the right graphviz. It is here. |
||
to install this on your own. This is straightforward with something like | ||
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. Not sure the conda reference is helpful here 'cause it's not really contextualized. |
||
the `anaconda distribution <https://anaconda.org/>`_. | ||
|
||
General structure | ||
----------------- | ||
|
||
All documentation is built from the :file:`doc/` directory. This folder contains both | ||
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. One case of "directory" and many of "folder"; I think we should be consistent about it (preferring directory, myself.) |
||
``.rst`` files that contains pages in the documentation, folders that contain more | ||
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. contain pages |
||
``.rst`` files, and configuration for Sphinx. | ||
``.rst`` files, and configuration files for Sphinx. | ||
|
||
.. note:: | ||
|
||
An exception to this are the folders :file:`gallery` and :file:`tutorials`, which | ||
exist in the root folder. These contain python files that are built by ``sphinx-gallery``. | ||
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. Python |
||
When the docs are built, folders of the same name will be generated inside of :file:`docs/`. | ||
These can be safely deleted. | ||
The generated folders :file:`docs/gallery` and :file:`docs/tutorials` can be safely deleted. | ||
|
||
The configuration file for Sphinx is in :file:`doc/conf.py`. It controls which folders | ||
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. is :file: |
||
sphinx parses, how the docs are built, and how the extensions are used. | ||
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. Sphinx |
||
|
@@ -62,9 +64,9 @@ or:: | |
There are many other flags you can pass to ``make.py``, and you can see the | ||
full list inside that file. Here are two useful ones: | ||
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. or run ./make.py --help? (maybe?) 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. I put this in the |
||
|
||
* ``clean`` will delete the built sphinx files. Call if you're getting strange | ||
* ``clean`` will delete the built sphinx files. Use this command if you're getting strange | ||
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. Sphinx |
||
errors about missing paths or broken links, particularly if you move files around. | ||
* ``latex`` builds a pdf of the documentation | ||
* ``latex`` builds a pdf of the documentation. | ||
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. |
||
|
||
In addition, these are useful flags: | ||
|
||
|
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.
LaTeX