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 )
1816 "sphinx.ext.todo" ,
1917 "sphinx.ext.napoleon" ,
2018 "sphinx.ext.linkcode" ,
21- "alagitpull" ,
2219 "sphinx_issues" ,
2320 "sphinx_click.ext" , # sphinx-click
2421 "myst_parser" ,
@@ -33,7 +30,6 @@ def setup(app):
3330
3431
3532issues_github_path = about ["__github__" ].replace ("https://github.com/" , "" )
36-
3733templates_path = ["_templates" ]
3834
3935source_suffix = {".rst" : "restructuredtext" , ".md" : "markdown" }
@@ -49,41 +45,40 @@ def setup(app):
4945exclude_patterns = ["_build" ]
5046
5147pygments_style = "sphinx"
48+ pygments_dark_style = "monokai"
5249
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"
5553html_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+ ],
6968}
7069html_sidebars = {
7170 "**" : [
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" ,
7776 ]
7877}
7978
8079html_static_path = ["_static" ]
8180html_extra_path = ["manifest.json" ]
8281
83- alagitpull_internal_hosts = ["vcspull.git-pull.com" , "0.0.0.0" ]
84- alagitpull_external_hosts_new_window = True
85-
86-
8782htmlhelp_basename = "%sdoc" % about ["__title__" ]
8883
8984latex_documents = [
0 commit comments