Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Fix html_logo for sphinx docs #5545

Merged
merged 2 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/static/img/nni-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 2 additions & 8 deletions docs/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@
<div class="md-flex__cell md-flex__cell--shrink">
<a href="{{ pathto(master_doc)|e }}" title="{{ docstitle|e }}"
class="md-header-nav__button md-logo">
{% if theme_logo_icon|e %}
<i class="md-icon">{{ theme_logo_icon }}</i>
{% elif logo_url %}
<img src="{{ pathto(logo_url, 1) }}" height="26"
alt="{{ shorttitle|striptags|e }} logo">
{% else %}
&nbsp;
{% endif %}
<img src="{{ pathto('_static/img/nni-icon.svg', 1) }}" height="26"
alt="{{ shorttitle|striptags|e }} logo">
</a>
</div>
<div class="md-flex__cell md-flex__cell--shrink">
Expand Down