Added header logo to documentation
This commit is contained in:
parent
3acf30b3aa
commit
e6a5abdfae
4 changed files with 11 additions and 1 deletions
BIN
doc/sphinx/_static/cantera-logo.png
Normal file
BIN
doc/sphinx/_static/cantera-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
BIN
doc/sphinx/_static/favicon.ico
Normal file
BIN
doc/sphinx/_static/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
10
doc/sphinx/_templates/layout.html
Normal file
10
doc/sphinx/_templates/layout.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{% extends "!layout.html" %}
|
||||
|
||||
|
||||
{% block relbar1 %}
|
||||
<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
|
||||
<a href="{{ pathto('index') }}">
|
||||
<img src="{{pathto("_static/cantera-logo.png", 1) }}" border="0" alt="Cantera"/></a>
|
||||
</div>
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
|
|
@ -135,7 +135,7 @@ html_theme = 'sphinxdoc'
|
|||
# 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
|
||||
# pixels large.
|
||||
#html_favicon = None
|
||||
html_favicon = "_static/favicon.ico"
|
||||
|
||||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue