Skip to content

Use object for directive option converter results - #14672

Open
adamtheturtle wants to merge 3 commits into
sphinx-doc:masterfrom
adamtheturtle:option-spec-object
Open

Use object for directive option converter results#14672
adamtheturtle wants to merge 3 commits into
sphinx-doc:masterfrom
adamtheturtle:option-spec-object

Conversation

@adamtheturtle

@adamtheturtle adamtheturtle commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Use object for OptionSpec converter results so extensions can reuse the alias without Any suppressions. Adds a regression for subclass option maps (downstream PR).

Validation: mypy and 76 relevant tests pass. Unrelated CI fixes are split into #14673 and #14674; merge those first, then update this branch.

AI disclosure: OpenAI Codex generated the changes and description, ran checks, and submitted this PR at the owner's request; no human review is claimed.

@adamtheturtle adamtheturtle changed the title Use object for directive option converter results Improve option typing and dependency compatibility Sep 13, 2026
@adamtheturtle adamtheturtle changed the title Improve option typing and dependency compatibility Use object for directive option converter results Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant