Skip to content

Commit 25ebedb

Browse files
committed
chore(docs[conf]): pydocstyle manual fixes
1 parent bae767a commit 25ebedb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# flake8: NOQA: E501
2+
"""Sphinx configuration for libtmux."""
23
import contextlib
34
import inspect
45
import pathlib
@@ -202,6 +203,7 @@ def linkcode_resolve(domain: str, info: t.Dict[str, str]) -> t.Union[None, str]:
202203

203204

204205
def remove_tabs_js(app: "Sphinx", exc: Exception) -> None:
206+
"""Remove tabs.js from _static after build."""
205207
# Fix for sphinx-inline-tabs#18
206208
if app.builder.format == "html" and not exc:
207209
tabs_js = pathlib.Path(app.builder.outdir) / "_static" / "tabs.js"
@@ -210,4 +212,5 @@ def remove_tabs_js(app: "Sphinx", exc: Exception) -> None:
210212

211213

212214
def setup(app: "Sphinx") -> None:
215+
"""Configure Sphinx app hooks."""
213216
app.connect("build-finished", remove_tabs_js)

0 commit comments

Comments
 (0)