diff --git a/doc/README.md b/doc/README.md index d78c5c79..24eb334a 100644 --- a/doc/README.md +++ b/doc/README.md @@ -19,6 +19,10 @@ This will create the documentation under _html +## Custom Page Content + +To add custom page content to the generated pages, modify `templates/layout.html`. + ## Publishing > Note: this section is only relevant for administrators of the [Autobahn web site](http://autobahn.ws/). diff --git a/doc/conf.py b/doc/conf.py index ab2af779..fb7a777a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -50,7 +50,8 @@ if spelling is not None: extensions.append('sphinxcontrib.spelling') # Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] +#templates_path = ['_templates'] +templates_path = ['templates'] # The suffix of source filenames. source_suffix = '.rst' @@ -131,6 +132,7 @@ else: #html_theme_options = {} html_theme_options = { +'analytics_id': 'sdfsfsdf' # 'footertextcolor': '#ccc', # 'sidebarbgcolor': '#111', # 'sidebartextcolor': '#ccc', diff --git a/doc/templates/layout.html b/doc/templates/layout.html new file mode 100644 index 00000000..893cba82 --- /dev/null +++ b/doc/templates/layout.html @@ -0,0 +1,20 @@ +{% extends "!layout.html" %} + +{%- block extrahead %} + + {{ super() }} + + + +{% endblock %} + +{% block footer %} + {{ super() }} +{% endblock %}