conf: update theme options; 's/SymbiFlow/F4PGA/'

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
Unai Martinez-Corral 2022-02-15 03:53:04 +01:00
parent fd2577f2bc
commit 1662b9ae6e
1 changed files with 10 additions and 58 deletions

View File

@ -9,10 +9,10 @@ import sys, os
# -- General configuration ----------------------------------------------------- # -- General configuration -----------------------------------------------------
project = u'SymbiFlow' project = 'F4PGA'
basic_filename = u'symbiflow-docs' basic_filename = 'f4pga-docs'
authors = u'SymbiFlow' authors = 'F4PGA Authors'
copyright = authors + u', 2019' copyright = f'{authors}, 2019 - 2022'
version = '' version = ''
release = '' # The full version, including alpha/beta/rc tags. release = '' # The full version, including alpha/beta/rc tags.
@ -48,64 +48,16 @@ rst_prolog = """
# -- Options for HTML output --------------------------------------------------- # -- Options for HTML output ---------------------------------------------------
html_theme = "sphinx_symbiflow_theme" html_show_sourcelink = True
html_theme = 'sphinx_symbiflow_theme'
html_theme_options = { html_theme_options = {
# Specify a list of menu in Header. 'repo_name': 'chipsalliance/f4pga-docs',
# Tuples forms: 'github_url' : 'https://github.com/chipsalliance/f4pga-docs',
# ('Name', 'external url or path of pages in the document', boolean, 'icon name') 'globaltoc_collapse': True,
#
# Third argument:
# True indicates an external link.
# False indicates path of pages in the document.
#
# Fourth argument:
# Specify the icon name.
# For details see link.
# https://material.io/icons/
'header_links' : [
('Home', 'index', False, 'home'),
("Website", "https://symbiflow.github.io", True, 'launch'),
("GitHub", "https://github.com/SymbiFlow", True, 'code')
],
# Customize css colors.
# For details see link.
# https://getmdl.io/customize/index.html
#
# Values: amber, blue, brown, cyan deep_orange, deep_purple, green, grey, indigo, light_blue,
# light_green, lime, orange, pink, purple, red, teal, yellow(Default: indigo)
'primary_color': 'deep_purple',
# Values: Same as primary_color. (Default: pink)
'accent_color': 'purple',
# Customize layout.
# For details see link.
# https://getmdl.io/components/index.html#layout-section
'fixed_drawer': True,
'fixed_header': True,
'header_waterfall': True,
'header_scroll': False,
# Render title in header.
# Values: True, False (Default: False)
'show_header_title': False,
# Render title in drawer.
# Values: True, False (Default: True)
'show_drawer_title': True,
# Render footer.
# Values: True, False (Default: True)
'show_footer': True
} }
html_title = project
html_last_updated_fmt = today_fmt
html_show_sphinx = False
htmlhelp_basename = basic_filename
# -- Options for LaTeX output -------------------------------------------------- # -- Options for LaTeX output --------------------------------------------------
latex_documents = [ latex_documents = [