Skip to content

Commit fa6a568

Browse files
committed
pin sphinxcontrib-applehelp==1.0.2 which is breaking spellcheck
1 parent b1f5690 commit fa6a568

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/_ext/spelling_stub_ext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Sphinx extension for making the spelling directive noop."""
22

3-
from typing import List
3+
from typing import List, Dict, Any
44

55
from sphinx.util.nodes import nodes
66
from sphinx.application import Sphinx
@@ -17,7 +17,7 @@ def run(self) -> List[nodes.Node]:
1717
return []
1818

1919

20-
def setup(app: Sphinx) -> None:
20+
def setup(app: Sphinx) -> Dict[str, Any]:
2121
"""Initialize the extension."""
2222
app.add_directive('spelling', SpellingNoOpDirective)
2323

docs/requirements.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ sphinxcontrib-apidoc >= 0.3.0
66
sphinxcontrib-towncrier >= 0.2.0a0
77
# See https://github.com/yaml/pyyaml/issues/724#issuecomment-1638587228
88
pyyaml==5.3.1
9+
# PIN to fix:
10+
# The sphinxcontrib.applehelp extension used by this project needs at least Sphinx v5.0;
11+
# it therefore cannot be built with this version.
12+
sphinxcontrib-applehelp==1.0.2

0 commit comments

Comments
 (0)