1
1
import os
2
2
3
- import alagitpull
4
-
5
3
# Get the project root dir, which is the parent dir of this
6
4
cwd = os .getcwd ()
7
5
project_root = os .path .dirname (cwd )
19
17
"sphinx.ext.napoleon" ,
20
18
"sphinx.ext.linkcode" ,
21
19
"sphinx_issues" ,
22
- # "alagitpull",
23
20
"sphinx_click.ext" , # sphinx-click
24
21
"myst_parser" ,
25
22
]
@@ -33,7 +30,7 @@ def setup(app):
33
30
34
31
35
32
issues_github_path = about ["__github__" ].replace ("https://github.com/" , "" )
36
- templates_path = ["_templates" , alagitpull . get_path () ]
33
+ templates_path = ["_templates" ]
37
34
38
35
source_suffix = {".rst" : "restructuredtext" , ".md" : "markdown" }
39
36
@@ -52,29 +49,15 @@ def setup(app):
52
49
html_theme_path = []
53
50
html_theme = "furo"
54
51
html_theme_options = {
55
- "logo" : "img/vcspull.svg" ,
56
52
"light_logo" : "img/vcspull.svg" ,
57
53
"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 ,
70
54
}
71
55
html_sidebars = {
72
56
"**" : [
73
57
"sidebar/scroll-start.html" ,
74
58
"sidebar/brand.html" ,
75
59
"sidebar/search.html" ,
76
60
"sidebar/navigation.html" ,
77
- "more.html" ,
78
61
"sidebar/scroll-end.html" ,
79
62
]
80
63
}
0 commit comments