Merge pull request #1194 from pliablepixels/documentation

All checks out fine on my RTD instance so merging
This commit is contained in:
Steve Gilvarry 2015-12-20 09:53:14 +11:00
commit 66ec7d74fd
3 changed files with 12 additions and 18 deletions

3
docs/_static/zmstyle.css vendored Normal file
View File

@ -0,0 +1,3 @@
img {
border: 1px solid black !important;
}

View File

@ -1,13 +0,0 @@
@import url("default.css");
div.admonition-note {
border-top: 2px solid red;
border-bottom: 2px solid red;
border-left: 2px solid red;
border-right: 2px solid red;
background-color: #ff6347
}
img {
border: 1px solid black !important;
}

View File

@ -15,6 +15,9 @@
import sys
import os
def setup(app):
app.add_stylesheet('zmstyle.css')
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
@ -98,14 +101,15 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
#html_theme = 'default'
html_theme = 'sphinx_rtd_theme'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
"stickysidebar": "true"
}
#html_theme_options = {
# "stickysidebar": "true"
#}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
@ -130,7 +134,7 @@ html_theme_options = {
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_style='zmstyles.css'
#html_style='zmstyles.css'
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied