diff options
Diffstat (limited to 'sphinx/domains/changeset.py')
-rw-r--r-- | sphinx/domains/changeset.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/domains/changeset.py b/sphinx/domains/changeset.py index 8320b82d9..22e625f42 100644 --- a/sphinx/domains/changeset.py +++ b/sphinx/domains/changeset.py @@ -138,7 +138,7 @@ class ChangeSetDomain(Domain): changes.append(changeset) def process_doc( - self, env: "BuildEnvironment", docname: str, document: nodes.document + self, env: BuildEnvironment, docname: str, document: nodes.document ) -> None: pass # nothing to do here. All changesets are registered on calling directive. @@ -146,7 +146,7 @@ class ChangeSetDomain(Domain): return self.changesets.get(version, []) -def setup(app: "Sphinx") -> dict[str, Any]: +def setup(app: Sphinx) -> dict[str, Any]: app.add_domain(ChangeSetDomain) app.add_directive('deprecated', VersionChange) app.add_directive('versionadded', VersionChange) |