Skip to content

Commit bed670d

Browse files
committed
docs(conf): Basic typings
1 parent d3a9a92 commit bed670d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/conf.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# flake8: NOQA E5
22
import inspect
33
import sys
4+
import typing as t
45
from os.path import dirname, relpath
56
from pathlib import Path
67

@@ -14,7 +15,7 @@
1415
sys.path.insert(0, str(cwd / "_ext"))
1516

1617
# package data
17-
about = {}
18+
about: t.Dict[str, str] = {}
1819
with open(project_root / "tmuxp" / "__about__.py") as fp:
1920
exec(fp.read(), about)
2021

@@ -61,8 +62,8 @@
6162
html_static_path = ["_static"]
6263
html_favicon = "_static/favicon.ico"
6364
html_theme = "furo"
64-
html_theme_path = []
65-
html_theme_options = {
65+
html_theme_path: t.List[str] = []
66+
html_theme_options: t.Dict[str, t.Union[str, t.List[t.Dict[str, str]]]] = {
6667
"light_logo": "img/tmuxp.svg",
6768
"dark_logo": "img/tmuxp.svg",
6869
"footer_icons": [

0 commit comments

Comments
 (0)