Skip to content

Commit

Permalink
bugfix in MDL_theme for newer Sphinx versions (see sphinx-doc/sphinx#…
Browse files Browse the repository at this point in the history
  • Loading branch information
magro11 committed May 21, 2023
1 parent f79cd51 commit 68adbc7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion mainsite_hidden/source/MDL_theme/drawer.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
{%- if logo %}
<img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="{{ project }}"/>
{%- else %}
{{ project }}
{%- if logo_url %}
<img class="logo" src="{{ pathto(logo_url, 1) }}" alt="{{ project }}"/>
{%- else %}
{{ project }} {{logo_url}}
{%- endif %}
{%- endif %}
</a>
</span>
Expand Down
3 changes: 2 additions & 1 deletion mainsite_hidden/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = MDL_theme" #'sphinxdoc' #'pyramid' #default'
html_theme = "MDL_theme" #'sphinxdoc' #'pyramid' #default'

# 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
Expand All @@ -149,6 +149,7 @@
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
html_logo = "_static\\itomlogo.png"
logo = html_logo

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
Expand Down

0 comments on commit 68adbc7

Please sign in to comment.