Make the documentation a little more like the official python docs, with a favicon and a small icon on the navigation bar.

This commit is contained in:
Mike Auty
2016-12-30 01:09:27 +00:00
parent 7f887414cb
commit 87b259ab54
4 changed files with 8 additions and 3 deletions
+3 -3
View File
@@ -38,7 +38,7 @@ extensions = [
]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ['tools/templates']
# The suffix of source filenames.
source_suffix = '.rst'
@@ -127,12 +127,12 @@ html_theme_options = {'collapsiblesidebar': True}
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
# html_logo = 'tools/static/volatility.png'
# 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 = 'tools/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,
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

+5
View File
@@ -0,0 +1,5 @@
{% extends "!layout.html" %}
{% block rootrellink %}
<li><img src="{{ pathto('_static/vol.png', 1) }}" alt=""
style="vertical-align: middle; margin-top: -1px"/></li>
{% endblock %}