Skip to content

Commit

Permalink
change the navigation bar
Browse files Browse the repository at this point in the history
  • Loading branch information
xiemeiping committed Aug 3, 2022
1 parent 32acaf6 commit 516496c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions docs/source/_templates/layout.html
@@ -0,0 +1,13 @@
{%- extends "!layout.html" %}

{% block extrabody %}
<nav id="nav-bar">
<ul class="nav-bar-items" id="nav-bar-items">
<li class="nav-bar-logo">
<a href="https://sunfounder.com">
<img class="logo-img" src="https://ezblock.cc/readDocFile/sunfounder_LOGO_160x@2x.png"/>
</a>
</li>
</ul>
</nav>
{% endblock %}
4 changes: 2 additions & 2 deletions docs/source/conf.py
Expand Up @@ -64,8 +64,8 @@
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_js_files = [
'https://ezblock.cc/readDocFile/topHead.js',
'https://ezblock.cc/readDocFile/custom.js',
]
html_css_files = [
'https://ezblock.cc/readDocFile/topHead.css',
'https://ezblock.cc/readDocFile/custom.css',
]

0 comments on commit 516496c

Please sign in to comment.