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 )
18
16
"sphinx.ext.todo" ,
19
17
"sphinx.ext.napoleon" ,
20
18
"sphinx.ext.linkcode" ,
21
- "alagitpull" ,
22
19
"sphinx_issues" ,
23
20
"sphinx_click.ext" , # sphinx-click
24
21
"myst_parser" ,
@@ -33,7 +30,6 @@ def setup(app):
33
30
34
31
35
32
issues_github_path = about ["__github__" ].replace ("https://github.com/" , "" )
36
-
37
33
templates_path = ["_templates" ]
38
34
39
35
source_suffix = {".rst" : "restructuredtext" , ".md" : "markdown" }
@@ -49,41 +45,40 @@ def setup(app):
49
45
exclude_patterns = ["_build" ]
50
46
51
47
pygments_style = "sphinx"
48
+ pygments_dark_style = "monokai"
52
49
53
- html_theme_path = [alagitpull .get_path ()]
54
- html_theme = "alagitpull"
50
+ html_favicon = "_static/favicon.ico"
51
+ html_theme_path = []
52
+ html_theme = "furo"
55
53
html_theme_options = {
56
- "logo" : "img/vcspull.svg" ,
57
- "github_user" : "vcs-python" ,
58
- "github_repo" : "vcspull" ,
59
- "github_type" : "star" ,
60
- "github_banner" : True ,
61
- "projects" : alagitpull .projects ,
62
- "project_name" : about ["__title__" ],
63
- "project_title" : about ["__title__" ],
64
- "project_description" : about ["__description__" ],
65
- "project_url" : about ["__docs__" ],
66
- "show_meta_manifest_tag" : True ,
67
- "show_meta_og_tags" : True ,
68
- "show_meta_app_icon_tags" : True ,
54
+ "light_logo" : "img/vcspull.svg" ,
55
+ "dark_logo" : "img/vcspull-dark.svg" ,
56
+ "footer_icons" : [
57
+ {
58
+ "name" : "GitHub" ,
59
+ "url" : "https://github.com/vcs-python/vcspull" ,
60
+ "html" : """
61
+ <svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 16 16">
62
+ <path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path>
63
+ </svg>
64
+ """ ,
65
+ "class" : "" ,
66
+ },
67
+ ],
69
68
}
70
69
html_sidebars = {
71
70
"**" : [
72
- "about .html" ,
73
- "navigation .html" ,
74
- "relations .html" ,
75
- "more .html" ,
76
- "searchbox .html" ,
71
+ "sidebar/scroll-start .html" ,
72
+ "sidebar/brand .html" ,
73
+ "sidebar/search .html" ,
74
+ "sidebar/navigation .html" ,
75
+ "sidebar/scroll-end .html" ,
77
76
]
78
77
}
79
78
80
79
html_static_path = ["_static" ]
81
80
html_extra_path = ["manifest.json" ]
82
81
83
- alagitpull_internal_hosts = ["vcspull.git-pull.com" , "0.0.0.0" ]
84
- alagitpull_external_hosts_new_window = True
85
-
86
-
87
82
htmlhelp_basename = "%sdoc" % about ["__title__" ]
88
83
89
84
latex_documents = [
0 commit comments