11import os
22
3- import alagitpull
4-
53# Get the project root dir, which is the parent dir of this
64cwd = os .getcwd ()
75project_root = os .path .dirname (cwd )
1917 "sphinx.ext.napoleon" ,
2018 "sphinx.ext.linkcode" ,
2119 "sphinx_issues" ,
22- # "alagitpull",
2320 "sphinx_click.ext" , # sphinx-click
2421 "myst_parser" ,
2522]
@@ -33,7 +30,7 @@ def setup(app):
3330
3431
3532issues_github_path = about ["__github__" ].replace ("https://github.com/" , "" )
36- templates_path = ["_templates" , alagitpull . get_path () ]
33+ templates_path = ["_templates" ]
3734
3835source_suffix = {".rst" : "restructuredtext" , ".md" : "markdown" }
3936
@@ -52,29 +49,15 @@ def setup(app):
5249html_theme_path = []
5350html_theme = "furo"
5451html_theme_options = {
55- "logo" : "img/vcspull.svg" ,
5652 "light_logo" : "img/vcspull.svg" ,
5753 "dark_logo" : "img/vcspull-dark.svg" ,
58- "github_user" : "vcs-python" ,
59- "github_repo" : "vcspull" ,
60- "github_type" : "star" ,
61- "github_banner" : True ,
62- "projects" : alagitpull .projects ,
63- "project_name" : about ["__title__" ],
64- "project_title" : about ["__title__" ],
65- "project_description" : about ["__description__" ],
66- "project_url" : about ["__docs__" ],
67- "show_meta_manifest_tag" : True ,
68- "show_meta_og_tags" : True ,
69- "show_meta_app_icon_tags" : True ,
7054}
7155html_sidebars = {
7256 "**" : [
7357 "sidebar/scroll-start.html" ,
7458 "sidebar/brand.html" ,
7559 "sidebar/search.html" ,
7660 "sidebar/navigation.html" ,
77- "more.html" ,
7861 "sidebar/scroll-end.html" ,
7962 ]
8063}
0 commit comments