mirror of
https://github.com/python/cpython.git
synced 2026-10-28 10:25:05 +08:00
Follow-up of the HTML5 migration in bpo-10716: replace the layout tables, the /<br> encoding of docstrings and the obsolete <a name=...> anchors with semantic markup (header, section, h1-h4, CSS multi-column lists, white-space: pre-wrap, id= anchors), and restyle the pages after the python-docs-theme used by docs.python.org, including dark mode support. Members inherited from other classes are now collapsed by default. The pydoc API is unchanged; obsolete arguments of HTMLDoc methods are accepted and ignored. ServerHTMLDoc in xmlrpc.server is updated to match. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>