File tree 3 files changed +9
-12
lines changed
3 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ init_docs:
11
11
cd docs; sphinx-quickstart
12
12
13
13
docs :
14
+ python -m pip install furo
14
15
sphinx-build docs docs/html
15
16
16
17
install :
Original file line number Diff line number Diff line change 20
20
"https://cryptography.io/en/latest" : "https://cryptography.io/en/latest/objects.inv" ,
21
21
"https://www.pyopenssl.org/en/stable" : "https://www.pyopenssl.org/en/stable/objects.inv" ,
22
22
}
23
+ templates_path = ["" ]
23
24
24
25
if "readthedocs.org" in os .getcwd ().split ("/" ):
25
26
with open ("index.rst" , "w" ) as fh :
26
27
fh .write ("Documentation for this project has moved to https://xml-security.github.io/" + project )
27
28
else :
28
- import guzzle_sphinx_theme
29
-
30
- html_theme_path = guzzle_sphinx_theme .html_theme_path ()
31
- html_theme = "guzzle_sphinx_theme"
32
- html_theme_options = {
33
- "project_nav_name" : project ,
34
- "projectlink" : "https://github.com/XML-Security/" + project ,
35
- }
29
+ html_theme = "furo"
36
30
html_sidebars = {
37
31
"**" : [
38
- "logo-text.html" ,
39
- # "globaltoc.html",
40
- "localtoc.html" ,
41
- "searchbox.html" ,
32
+ "sidebar/brand.html" ,
33
+ "sidebar/search.html" ,
34
+ "sidebar/scroll-start.html" ,
35
+ "toc.html" ,
36
+ "sidebar/scroll-end.html" ,
42
37
]
43
38
}
Original file line number Diff line number Diff line change
1
+ {{toc}}
You can’t perform that action at this time.
0 commit comments