Skip to content

Commit a60acfd

Browse files
committed
docs(feat[api-style]): Enable API badge styling from gp-sphinx
why: The sphinx-autodoc-api-style extension adds type and modifier badges to autodoc entries, matching the visual language of sphinx-autodoc-pytest-fixtures. what: - Add sphinx_autodoc_api_style to extra_extensions in docs/conf.py
1 parent fd2b607 commit a60acfd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

docs/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
source_branch="master",
3131
light_logo="img/libtmux.svg",
3232
dark_logo="img/libtmux.svg",
33-
extra_extensions=["sphinx_autodoc_pytest_fixtures", "sphinx.ext.todo"],
33+
extra_extensions=[
34+
"sphinx_autodoc_api_style",
35+
"sphinx_autodoc_pytest_fixtures",
36+
"sphinx.ext.todo",
37+
],
3438
intersphinx_mapping={
3539
"python": ("https://docs.python.org/", None),
3640
"pytest": ("https://docs.pytest.org/en/stable/", None),

0 commit comments

Comments
 (0)