-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
MEP12 - added sphinx-gallery docstrings #7277
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
Conversation
@@ -87,6 +87,22 @@ the gallery would remain in those directories until they are cleaned | |||
up. After clean-up, they would be moved to one of the new gallery | |||
sections described above. "Clean-up" should involve: | |||
|
|||
* `sphinx-gallery docstrings <http://sphinx-gallery.readthedocs.io/>`_: a |
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.
https, please.
@@ -87,6 +87,22 @@ the gallery would remain in those directories until they are cleaned | |||
up. After clean-up, they would be moved to one of the new gallery | |||
sections described above. "Clean-up" should involve: | |||
|
|||
* `sphinx-gallery docstrings <http://sphinx-gallery.readthedocs.io/>`_: a | |||
title and a description formatted as follows:: |
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.
I think this should probably mention that it's the docstring for the entire file (right?), not some function within an example.
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.
Once something is added to this one to clarify that it's talking about the file docstring, the third bullet below this one (Add introductory sentence or paragraph in the main docstring.
) can also be deleted since it gives less specific criteria for the same docstring.
|
||
.. math:: f(x, y) = \sin(x) + \cos(y) | ||
|
||
with different colormaps. Look at how colormaps alter your perception! |
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.
Extra indent?
As discussed in a pull request (#6690), here is an update of the sphinx-gallery type of docstring for MEP12.