diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/_static/style.css | 3 | ||||
-rw-r--r-- | doc/_templates/layout.html | 4 | ||||
-rw-r--r-- | doc/conf.py | 5 |
3 files changed, 11 insertions, 1 deletions
diff --git a/doc/_static/style.css b/doc/_static/style.css new file mode 100644 index 0000000..b07bdb1 --- /dev/null +++ b/doc/_static/style.css @@ -0,0 +1,3 @@ +.wy-nav-content { + max-width: none; +} diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html new file mode 100644 index 0000000..3e44f4a --- /dev/null +++ b/doc/_templates/layout.html @@ -0,0 +1,4 @@ +{% extends "!layout.html" %} +{% block extrahead %} + <link href="{{ pathto("_static/style.css", True) }}" rel="stylesheet" type="text/css"> +{% endblock %} diff --git a/doc/conf.py b/doc/conf.py index 988dbf7..4ae4ea4 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -1,6 +1,6 @@ from datetime import datetime -html_theme = "agogo" +html_theme = "sphinx_rtd_theme" extensions = [] project = 'Rumba' @@ -17,6 +17,9 @@ autodoc_default_flags = ['members'] autoclass_content = 'both' +html_static_path = ['_static'] +templates_path = ['_templates'] + _locals = {} with open('../rumba/_version.py') as fp: exec(fp.read(), None, _locals) |