diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-11-23 21:23:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-23 21:23:36 +0900 |
commit | e326017f743a2e2757e9611a0385623a2cb85b6d (patch) | |
tree | f430e9c18689ae7ee0795daea9663eb320891e5f /sphinx/versioning.py | |
parent | c0f0091e6e553b56cb63d662ebab97ed2196aee6 (diff) | |
parent | 24564892699384ee37f283850ae224c5a90c988b (diff) | |
download | sphinx-git-e326017f743a2e2757e9611a0385623a2cb85b6d.tar.gz |
Merge pull request #5661 from tk0miya/fix_typehints_for_transforms
Adjust type annotations for transforms to docutils'
Diffstat (limited to 'sphinx/versioning.py')
-rw-r--r-- | sphinx/versioning.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/versioning.py b/sphinx/versioning.py index 4bac70bf9..56da86a4a 100644 --- a/sphinx/versioning.py +++ b/sphinx/versioning.py @@ -159,8 +159,8 @@ class UIDTransform(SphinxTransform): """Add UIDs to doctree for versioning.""" default_priority = 880 - def apply(self): - # type: () -> None + def apply(self, **kwargs): + # type: (Any) -> None env = self.env old_doctree = None if not env.versioning_condition: |