-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Add :shows-source-link: option to Sphinx plot directive #24215
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
PHP-Proxy
Error accessing resource: 429 - Too Many Requests
Conversation
9c5a5dc
to
8fae504
Compare
Just a remark that source links are currently broken for |
All reactions
Sorry, something went wrong.
f6fedff
to
ccb1229
Compare
Any update on this? |
All reactions
Sorry, something went wrong.
doc/users/next_whats_new/show_source_links_directive_option.rst
Outdated
Show resolved
Hide resolved
doc/users/next_whats_new/show_source_links_directive_option.rst
Outdated
Show resolved
Hide resolved
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 was held up by #24215 (comment). But now realized that we're not hooking deeper into that functionality for execution. We only rely on it in tests. - Therefore, the worst that can happen is that our tests become broken and we have to come up with a better test, but the functionality on the user side is not affect.
This is good to go, modulo my comment on the test.
Sorry, something went wrong.
All reactions
0379f0d
to
a126736
Compare
a126736
to
3f011be
Compare
Precommit sees trailing whitespace |
All reactions
Sorry, something went wrong.
I pushed one more little change to fix this error from the CI pipeline:
|
All reactions
Sorry, something went wrong.
That's fixed now. Should be ready to go. |
All reactions
Sorry, something went wrong.
@lpsinger do you want to squash/rebase or should I? |
All reactions
Sorry, something went wrong.
The Sphinx plot directive (`.. plot::`) now supports a `:show-source-link` option to show or hide the link to the source for each plot. The default is set using the `plot_html_show_source_link` variable in `conf.py` (which itself defaults to True).
Done. |
All reactions
Sorry, something went wrong.
2fea052
to
d58fc21
Compare
Thanks @lpsinger |
All reactions
Sorry, something went wrong.
Thank you! |
All reactions
Sorry, something went wrong.
Successfully merging this pull request may close these issues.
PHP-Proxy
Error accessing resource: 429 - Too Many Requests
The Sphinx plot directive (
.. plot::
) now supports a:show-source-link
option to show or hide the link to the source for each plot. The default is set using theplot_html_show_source_link
variable inconf.py
(which itself defaults to True).PR Summary
PR Checklist
Tests and Styling
pytest
passes).flake8-docstrings
and runflake8 --docstring-convention=all
).Documentation
doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).