Skip to content

Fix documentation build with Sphinx 9 - #202

Draft
cananoo wants to merge 1 commit into
python-hyper:masterfrom
cananoo:fix/200-sphinx-9-api
Draft

Fix documentation build with Sphinx 9#202
cananoo wants to merge 1 commit into
python-hyper:masterfrom
cananoo:fix/200-sphinx-9-api

Conversation

@cananoo

@cananoo cananoo commented Aug 27, 2026

Copy link
Copy Markdown

Fixes #200.

Sphinx 9 removed the deprecated add_javascript and add_stylesheet
application methods. Use the current add_js_file and add_css_file APIs in
the documentation configuration so h11 can build with current Sphinx releases.

Validation:

  • python -m pytest -q -p no:ruff h11/tests (78 passed)
  • Sphinx 9.1 configuration and documentation smoke build
  • git diff --check

I used OpenAI Codex to assist with investigating and preparing this change,
and reviewed the resulting patch before submission.

注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

None yet

项目

None yet

Development

Successfully merging this pull request may close these issues.

Cannot build the doc on Sphinx 9.1.0

1 participant