Skip to content

Commit 24a8822

Browse files
committed
docs(conf): pydocstyle manual fixes
1 parent 047678a commit 24a8822

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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 libvcs."""
23
import inspect
34
import pathlib
45
import sys
@@ -219,11 +220,13 @@ def linkcode_resolve(domain: str, info: dict[str, str]) -> t.Union[None, str]:
219220

220221

221222
def remove_tabs_js(app: "Sphinx", exc: Exception) -> None:
223+
"""Remove tabs.js from _static after build."""
222224
# Fix for sphinx-inline-tabs#18
223225
if app.builder.format == "html" and not exc:
224226
tabs_js = pathlib.Path(app.builder.outdir) / "_static" / "tabs.js"
225227
tabs_js.unlink(missing_ok=True)
226228

227229

228230
def setup(app: "Sphinx") -> None:
231+
"""Configure Sphinx app hooks."""
229232
app.connect("build-finished", remove_tabs_js)

0 commit comments

Comments
 (0)