GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||
GeezerVison is showing github.com — Docs: Prepare for Sphinx 9 by AA-Turner · Pull Request #142057 · python/cpython Conversation
|
| terms[term.lower()] = { | ||
| 'title': term, | ||
| 'body': rendered['html_body'], | ||
| 'body': rendered['fragment'], |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
What does this do?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
body and fragment are aliases. html_body wraps the fragment content in <main> tags, but that's not needed/helpful for this use-case (inserting into the search results).
A
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| with Python: | ||
|
|
||
| * `Basic Authentication <https://web.archive.org/web/20201215133350/http://www.voidspace.org.uk/python/articles/authentication.shtml>`_ | ||
| * `Basic Authentication <https://web.archive.org/web/20201215133350/http://www.voidspace.org.uk/python/articles/authentication.shtml>`__ |
There was a problem 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.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
PR opened: python/devguide#1709
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thanks @AA-Turner for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
(cherry picked from commit 7739943) Co-authored-by: Adam Turner <[email protected]>
|
GH-142091 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
(cherry picked from commit 7739943) Co-authored-by: Adam Turner <[email protected]>
|
GH-142092 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Adam Turner <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.