Docs: Prepare for Sphinx 9 (#142057)

This commit is contained in:
Adam Turner 2025-11-29 14:49:37 +00:00 committed by GitHub
parent 3c117380ab
commit 77399436bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 7 deletions

View file

@ -15,7 +15,7 @@ Introduction
You may also find useful the following article on fetching web resources
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>`__
A tutorial on *Basic Authentication*, with examples in Python.

View file

@ -2095,11 +2095,8 @@ to sockets.
Accepts any real number, not only integer or float.
.. method:: socket.setsockopt(level, optname, value: int)
.. method:: socket.setsockopt(level, optname, value: buffer)
:noindex:
.. method:: socket.setsockopt(level, optname, None, optlen: int)
:noindex:
.. method:: socket.setsockopt(level, optname, value: int | Buffer)
socket.setsockopt(level, optname, None, optlen: int)
.. index:: pair: module; struct

View file

@ -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'],
}