Merge pull request #341 from mithro/sphinx-theme-fix

Update the sphinx theme
This commit is contained in:
Tim Ansell 2021-11-02 13:28:11 -07:00 committed by GitHub
commit b5ff6174d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 46 deletions

BIN
docs/_static/skywater-pdk-logo-top.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

13
docs/_templates/relbar.html vendored Normal file
View File

@ -0,0 +1,13 @@
{% extends '!relbar.html' %}
{%- block extralinks -%}
{{ super() }}
<li class="md-tabs__item"><a href="https://www.skywatertechnology.com/" class="md-tabs__link"><i class="md-icon">business</i> SkyWater</a></li>
<li class="md-tabs__item"><a href="https://efabless.com/open_shuttle_program" class="md-tabs__link"><i class="md-icon">precision_manufacturing</i> Shuttle Program</a></li>
<li class="md-tabs__item"><a href="https://join.skywater.tools/" class="md-tabs__link"><i class="md-icon">chat_bubble</i> Chat</a></li>
<li class="md-tabs__item"><a href="https://groups.google.com/g/skywater-pdk-users" class="md-tabs__link"><i class="md-icon">campaign</i>Announcements</a></li>
<li class="md-tabs__item"><a href="https://groups.google.com/g/skywater-pdk-users" class="md-tabs__link"><i class="md-icon">mail</i> Mailing List</a></li>
{%- endblock -%}

View File

@ -149,56 +149,24 @@ pygments_style = None
# #
html_theme = "sphinx_symbiflow_theme" html_theme = "sphinx_symbiflow_theme"
html_logo = "_static/skywater-pdk-logo-top.png"
# Theme options are theme-specific and customize the look and feel of a theme # Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the # further. For a list of options available for each theme, see the
# documentation. # documentation.
# # https://sphinx-symbiflow-theme.readthedocs.io/en/latest/customization.html
html_theme_options = { html_theme_options = {
# Specify a list of menu in Header. 'nav_title': 'SkyWater SKY130 PDK',
# Tuples forms:
# ('Name', 'external url or path of pages in the document', boolean, 'icon name')
#
# 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'),
("GitHub", "https://github.com/google/skywater-pdk", True, 'code'),
("SkyWater", "https://www.skywatertechnology.com/", True, 'link'),
],
# Customize css colors. 'color_primary': 'light-green',
# For details see link. 'color_accent': 'teal',
# 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': 'light_green',
# Values: Same as primary_color. (Default: pink)
'accent_color': 'teal',
# Customize layout. # Set the repo location to get a badge with stats
# For details see link. 'github_url': 'https://github.com/google/skywater-pdk',
# https://getmdl.io/components/index.html#layout-section 'repo_name': 'google/skywater-pdk',
'fixed_drawer': True,
'fixed_header': True,
'header_waterfall': True,
'header_scroll': False,
# Render title in header. 'globaltoc_depth': 4,
# Values: True, False (Default: False) 'globaltoc_collapse': 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,
# Hide the symbiflow links # Hide the symbiflow links
'hide_symbiflow_links': True, 'hide_symbiflow_links': True,

View File

@ -16,7 +16,6 @@
name: skywater-pdk-docs name: skywater-pdk-docs
channels: channels:
- symbiflow - symbiflow
- conda-forge
- defaults - defaults
dependencies: dependencies:
- python=3.8 - python=3.8
@ -26,3 +25,4 @@ dependencies:
# Packages installed from PyPI # Packages installed from PyPI
- pip: - pip:
- -r requirements.txt - -r requirements.txt
- ../scripts/python-skywater-pdk

View File

@ -1,4 +1,4 @@
git+https://github.com/SymbiFlow/sphinx_materialdesign_theme.git#egg=sphinx-symbiflow-theme git+https://github.com/SymbiFlow/sphinx_symbiflow_theme.git#egg=sphinx-symbiflow-theme
docutils docutils
sphinx sphinx
@ -10,7 +10,7 @@ sphinx-verilog-domain
sphinxcontrib-hdl-diagrams sphinxcontrib-hdl-diagrams
# Module diagrams # Module diagrams
git+https://github.com/SymbiFlow/symbolator.git#egg=symbolator #git+https://github.com/SymbiFlow/symbolator.git#egg=symbolator
# pycairo # pycairo
# vext.gi # vext.gi