Skip to content

Fixed the CI failures β€” ready for re-review! πŸ™Β #9999

Description

Fixed the CI failures β€” ready for re-review! πŸ™

The starttag override was accidentally a module-level function instead of an HTML5Translator method (bare super() + missing return), which is what ruff/mypy/pyright/ty were flagging. It is now a proper method override matching the docutils signature, always delegating to super().starttag(). Also dropped a redundant condition in i18n.py.

Verified locally: ruff clean on all touched lines, plus test_intl (61), test_build_html and test_config (123) all pass.

Originally posted by @hesam-oxe in sphinx-doc/sphinx#14429 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions