Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 25ebedb

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

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎docs/conf.py

Copy file name to clipboardExpand all lines: docs/conf.py
+3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.