Skip to content

DOC api's transition to sphinx-gallery is now complete #8311

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

Merged
merged 1 commit into from
Mar 19, 2017
Merged

DOC api's transition to sphinx-gallery is now complete #8311

merged 1 commit into from
Mar 19, 2017

Conversation

NelleV
Copy link
Member

@NelleV NelleV commented Mar 17, 2017

It turns out we were much closer to finish the transition of all API examples than I thought, so this PR finishes up the job.

This doesn't build on my computer, and I am struggling to understand what is going on…

@NelleV NelleV added Documentation MEP: MEP12 gallery and examples improvements labels Mar 17, 2017
create the figure and show calls, and use the API for everything else.
This is a good solution for production quality scripts. For full
fledged GUI applications, see the user_interfaces examples.

Example style guide
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reason to get rid of this section? It seems quite useful.

Copy link
Member Author

@NelleV NelleV Mar 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not the correct place to document example style guide. We have a MEP for this in addition of contributors guidelines on how to write documentation (this section is thus quite out of date).

In addition, the READMEs are now being rendered in the gallery: they thus should contain documentation relevant to the end user on this specific section of the gallery instead of a mixture of user documentation and contribution guidelines.

Does this make sense?

Copy link
Member

@dstansby dstansby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dstansby dstansby changed the title DOC api's transition to sphinx-gallery is now complete [MRG+1] DOC api's transition to sphinx-gallery is now complete Mar 18, 2017
Copy link
Contributor

@dopplershift dopplershift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. A couple minor comments that don't need to hold this up.

(:ref:`api-sankey_demo_basics`, :ref:`api-sankey_demo_links`,
:ref:`api-sankey_demo_rankine`).
(:ref:`api-plot_sankey_demo_basics`, :ref:`api-plot_sankey_demo_links`,
:ref:`api-plot_sankey_demo_rankine`).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we take demo out here as well?

@@ -118,7 +118,7 @@ def __init__(self, ax=None, scale=1.0, unit='', format='%G', gap=0.25,

**Examples:**

.. plot:: mpl_examples/api/sankey_demo_basics.py
.. plot:: mpl_examples/api/plot_sankey_demo_basics.py
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another demo here.

@NelleV
Copy link
Member Author

NelleV commented Mar 19, 2017

Thanks for the review @dopplershift !
I addressed your comments.

@NelleV NelleV changed the title [MRG+1] DOC api's transition to sphinx-gallery is now complete [MRG+2] DOC api's transition to sphinx-gallery is now complete Mar 19, 2017
@dopplershift dopplershift merged commit 6030485 into matplotlib:master Mar 19, 2017
@QuLogic QuLogic added this to the 2.1 (next point release) milestone Mar 19, 2017
@QuLogic QuLogic changed the title [MRG+2] DOC api's transition to sphinx-gallery is now complete DOC api's transition to sphinx-gallery is now complete Mar 19, 2017
@NelleV NelleV deleted the MEP12_api branch March 19, 2017 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation MEP: MEP12 gallery and examples improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants