Skip to content

Commit 2209ddf

Browse files
committed
docs: Try sphinx-toolbox
1 parent 94bd53d commit 2209ddf

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/conf.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
exec(fp.read(), about)
2121

2222
extensions = [
23+
"sphinx_toolbox.more_autodoc.augment_defaults",
2324
"sphinx.ext.autodoc",
2425
"sphinx.ext.autosummary",
26+
"sphinx_toolbox.more_autodoc",
2527
"sphinx.ext.intersphinx",
2628
"sphinx.ext.todo",
2729
"sphinx.ext.napoleon",
@@ -39,11 +41,6 @@
3941

4042
master_doc = "index"
4143

42-
# app setup hook
43-
def setup(app):
44-
pass
45-
46-
4744
project = about["__title__"]
4845
copyright = about["__copyright__"]
4946

@@ -55,6 +52,10 @@ def setup(app):
5552
pygments_style = "monokai"
5653
pygments_dark_style = "monokai"
5754

55+
github_username = "vcs-python"
56+
github_repository = "libvcs"
57+
docutils_tab_width = 4
58+
5859
html_css_files = ["css/custom.css"]
5960
html_static_path = ["_static"]
6061
html_extra_path = ["manifest.json"]

0 commit comments

Comments
 (0)