DOC: fix Sphinx Gallery discussion to explain mixed subddirs#25618
Merged
QuLogic merged 1 commit intomatplotlib:mainfrom Apr 17, 2023
Merged
DOC: fix Sphinx Gallery discussion to explain mixed subddirs#25618QuLogic merged 1 commit intomatplotlib:mainfrom
QuLogic merged 1 commit intomatplotlib:mainfrom
Conversation
Member
Author
|
|
8994247 to
0539533
Compare
melissawm
reviewed
Apr 13, 2023
doc/devel/documenting_mpl.rst
Outdated
| mixed gallery where some of the files are raw ``*.rst`` files rather than | ||
| ``*.py`` files; Sphinx Gallery just copies those from the location to the build | ||
| location (see :ref:`raw_restructured_gallery`, below). To exclude an example | ||
| from having an plot generated insert "sgskip" somewhere in the filename. |
Member
There was a problem hiding this comment.
There may be a sentence part missing here? sorry my english has failed me here 😄 but I guess we should have "from having a plot generated"
Member
Author
There was a problem hiding this comment.
Maybe it's correct English, but I agree it's not very easy to parse. I'll take another swing at it.
Member
Author
There was a problem hiding this comment.
OK, modified to be a little more clear (I hope)
QuLogic
approved these changes
Apr 15, 2023
Member
QuLogic
left a comment
There was a problem hiding this comment.
This will need a rebase to fix CircleCI.
Co-authored-by: Elliott Sales de Andrade <[email protected]>
0879780 to
d92ab0b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
Update the "Writing documentation" for the changes from #25395 to point out the possibility of galleries with *.py and *.rst files in them (with links to the SG documentation about this).
Also added a table of galleries with their sources and where they end up in the build.
PR Checklist
Documentation and Tests
pytestpasses)Release Notes
.. versionadded::directive in the docstring and documented indoc/users/next_whats_new/.. versionchanged::directive in the docstring and documented indoc/api/next_api_changes/next_whats_new/README.rstornext_api_changes/README.rst