Skip to content

Commit

Permalink
Merge pull request #12 from MAIF/fix/summary_logo_fix
Browse files Browse the repository at this point in the history
fixed index top left logo
  • Loading branch information
ThomasBouche authored May 5, 2022
2 parents fc5b46c + 01064a2 commit 6c0db45
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
22 changes: 22 additions & 0 deletions docs/_templates/sidebar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

<img src="https://eurybia.readthedocs.io/en/latest/_images/eurybia-fond-clair.png?raw=true"
width="60%" height=auto style="margin-left: 10%; margin-top: auto; margin-bottom: 3em;">
<nav class="md-nav md-nav--primary" data-md-level="0">
<label class="md-nav__title md-nav__title--site" for="__drawer">
<a href="{{ pathto(master_doc)|e }}" title="{{ docstitle|striptags|e }}" class="md-nav__button md-logo">
{% if theme_logo_icon %}
<i class="md-icon">{{ theme_logo_icon }}</i>
{% else %}
<img src="{{ pathto('_static/' ~ logo, 1) }}" alt="{{ html_title }} logo" width="48" height="48">
{% endif %}
</a>
<a href="{{ pathto(master_doc)|e }}"
title="{{ docstitle|striptags|e }}">{{ theme_nav_title or shorttitle }}</a>
</label>
{%- if theme_repo_url %}
<div class="md-nav__source">
{% include "repo.html" %}
</div>
{% endif %}
{% include "globaltoc.html" %}
</nav>
1 change: 0 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
<div class="sidebar-container">
<div class="sidebar-content">
<img alt="logo eurybia" src="assets/images/svg/eurybia-fond-clair.svg">
<img alt="logo python" class="tagN2" src="assets/images/svg/etiquette.svg">
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
master_doc = "index"

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
templates_path = ["../_templates"]

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down

0 comments on commit 6c0db45

Please sign in to comment.