-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Docs: Prepare for Sphinx 9 #142057
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
Docs: Prepare for Sphinx 9 #142057
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,7 +38,7 @@ def process_glossary_nodes( | |
| rendered = app.builder.render_partial(definition) | ||
| terms[term.lower()] = { | ||
| 'title': term, | ||
| 'body': rendered['html_body'], | ||
| 'body': rendered['fragment'], | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What does this do?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
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.
I guess we should generally use anonymous targets as a default, unless we specifically want a named one?
Needing a named one is probably rare.
If so, we could update the examples in the devguide, perhaps with a brief explanation.
And suggest anonymous in reviews.
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.
PR opened: python/devguide#1709