3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-25 22:35:32 +00:00

Change Sphinx theme to "furo"

This commit is contained in:
Jannis Harder 2023-05-03 16:56:09 +02:00
parent 74f33880bd
commit 513d0d4288
5 changed files with 86 additions and 77 deletions

View file

@ -1,28 +1,41 @@
#!/usr/bin/env python3
project = 'YosysHQ SBY'
author = 'YosysHQ GmbH'
copyright ='2021 YosysHQ GmbH'
copyright = '2023 YosysHQ GmbH'
# select HTML theme
html_theme = 'press'
templates_path = ["_templates"]
html_theme = "furo"
html_logo = '../static/logo.png'
html_favicon = '../static/favico.png'
html_css_files = ['yosyshq.css', 'custom.css']
html_sidebars = {'**': ['util/searchbox.html', 'util/sidetoc.html']}
html_css_files = ['custom.css']
# These folders are copied to the documentation's HTML output
html_static_path = ['../static', "../images"]
html_static_path = ['../static']
# code blocks style
# code blocks style
pygments_style = 'colorful'
highlight_language = 'systemverilog'
html_theme_options = {
'external_links' : [
('YosysHQ Docs', 'https://yosyshq.readthedocs.io'),
('Blog', 'https://blog.yosyshq.com'),
('Website', 'https://www.yosyshq.com'),
],
"sidebar_hide_name": True,
"light_css_variables": {
"color-brand-primary": "#d6368f",
"color-brand-content": "#4b72b8",
"color-api-name": "#8857a3",
"color-api-pre-name": "#4b72b8",
"color-link": "#8857a3",
},
"dark_css_variables": {
"color-brand-primary": "#e488bb",
"color-brand-content": "#98bdff",
"color-api-name": "#8857a3",
"color-api-pre-name": "#4b72b8",
"color-link": "#be95d5",
},
}
extensions = ['sphinx.ext.autosectionlabel']