Skip to content

Commit 136890b

Browse files
committed
FIX: typing (#212)
1 parent 2b3d457 commit 136890b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ansys_sphinx_theme/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import pathlib
33
from typing import Dict
44

5-
import sphinx
5+
from sphinx.application import Sphinx
66

77
from ansys_sphinx_theme.latex import generate_404 # noqa: F401
88

@@ -67,7 +67,7 @@ def setup_default_html_theme_options(app):
6767
6868
Parameters
6969
----------
70-
app : sphinx.application.Sphinx
70+
app : ~sphinx.application.Sphinx
7171
Application instance for rendering the documentation.
7272
7373
Notes
@@ -84,12 +84,12 @@ def setup_default_html_theme_options(app):
8484
app.config.html_theme_options.setdefault("collapse_navigation", "True")
8585

8686

87-
def setup(app: sphinx.application.Sphinx) -> Dict:
87+
def setup(app: Sphinx) -> Dict:
8888
"""Connect to the sphinx theme app.
8989
9090
Parameters
9191
----------
92-
app : sphinx.application.Sphinx
92+
app : ~sphinx.application.Sphinx
9393
Application instance for rendering the documentation.
9494
9595
Returns

0 commit comments

Comments
 (0)