Skip to content

Commit

Permalink
change the head
Browse files Browse the repository at this point in the history
  • Loading branch information
xiemeiping committed Dec 29, 2022
1 parent db276cd commit f376f38
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
13 changes: 13 additions & 0 deletions docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -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 %}
12 changes: 7 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
# sys.path.insert(0, os.path.abspath('.'))


# -- Project information -----------------------------------------------------
import sphinx_rtd_theme
import time

# -- Project information -----------------------------------------------------

project = 'SunFounder PiCrawler Kit'
copyright = '2021, sunfounder'
project = 'SunFounder Pan-tilt HAT Kit'
copyright = f'{time.localtime().tm_year}, SunFounder'
author = 'www.sunfounder.com'


Expand Down Expand Up @@ -50,7 +52,7 @@


html_js_files = [
'https://ezblock.cc/readDocFile/topHead.js',
'https://ezblock.cc/readDocFile/custom.js',
'https://ezblock.cc/readDocFile/readTheDoc/src/js/ace.js',
'https://ezblock.cc/readDocFile/readTheDoc/src/js/mode-python.js',
'https://ezblock.cc/readDocFile/readTheDoc/src/js/mode-sh.js',
Expand All @@ -60,7 +62,7 @@
'https://ezblock.cc/readDocFile/readTheDoc/src/js/readTheDocIndex.js',
]
html_css_files = [
'https://ezblock.cc/readDocFile/topHead.css',
'https://ezblock.cc/readDocFile/custom.css',
'https://ezblock.cc/readDocFile/readTheDoc/src/css/index.css',
'https://ezblock.cc/readDocFile/readTheDoc/src/css/xterm.css',
]
Expand Down

0 comments on commit f376f38

Please sign in to comment.