-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add a filename-prefix option to the Sphinx plot directive #28187
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
Changes from 15 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
615017a
Add an output-base-name option to the Sphinx plot directive
asmeurer b432962
Add tests for output-base-name
asmeurer 426abc7
Remove {counter} from output-base-name and remove the global config
asmeurer 8485bfd
Check for duplicate output-base-name in the Sphinx extension
asmeurer f94a932
Fix flake8 errors
asmeurer 19daf49
Merge branch 'main' into output-base-name
asmeurer 8f05ba6
Make an internal class private
asmeurer 1fa88dd
Fix small code nit
asmeurer a22fcc3
Add a test for output-base-name with a .py file
asmeurer
8000
Oct 17, 2024
86fb167
Remove a redundant test
asmeurer e0be21e
Disallow / or . in output-base-name
asmeurer f322125
Rename output-base-name to image-basename
asmeurer fc33c38
Use a better variable name
asmeurer 7d416cf
Simplify logic in merge_other
asmeurer ce23c88
Merge branch 'main' into output-base-name
asmeurer f654a74
Various small code cleanups from review
asmeurer 13e5291
Merge branch 'main' into output-base-name
asmeurer 20bed26
Add a test for image-basename with multiple figures
asmeurer 7f56c94
Disallow \ in output_base in the plot directive
asmeurer 550e382
Fix the source link when using a custom basename to include the .py e…
asmeurer d4f2440
Make the sphinx extension tests more robust to manually building the …
asmeurer bab3aaf
Use shutil.ignore_patterns
asmeurer c8eba90
Rename image-basename to filename-prefix
asmeurer f4f1fbf
Merge branch 'main' into output-base-name
asmeurer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.