diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-10-03 18:09:40 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-10-03 18:09:40 -0400 |
commit | 9055282a969fb92c7d28bcbf83e23c65000155df (patch) | |
tree | e9598ae4fd8c74609dc40b81f6ef6b25a4cd9960 /doc/build/conf.py | |
parent | db7de0306e365e8f4255f1db2f8bb100f038919e (diff) | |
download | external_python_mako-9055282a969fb92c7d28bcbf83e23c65000155df.tar.gz external_python_mako-9055282a969fb92c7d28bcbf83e23c65000155df.tar.bz2 external_python_mako-9055282a969fb92c7d28bcbf83e23c65000155df.zip |
Remove built-in theme and start using zzzeeksphinx.
this allows maintenance of the "non-standard Sphinx theme"
to remain in one place.
Diffstat (limited to 'doc/build/conf.py')
-rw-r--r-- | doc/build/conf.py | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/doc/build/conf.py b/doc/build/conf.py index 605af5a..89c95d6 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -30,9 +30,8 @@ import mako #extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', # 'sphinx.ext.doctest', 'builder.builders'] -extensions = ['sphinx.ext.autodoc','sphinx.ext.intersphinx', - 'changelog', 'sphinx_paramlinks', - 'builder.builders'] +extensions = ['sphinx.ext.autodoc', + 'changelog', 'sphinx_paramlinks', 'zzzeeksphinx'] changelog_render_ticket = "https://bitbucket.org/zzzeek/mako/issue/%s/" @@ -47,13 +46,14 @@ templates_path = ['templates'] nitpicky = True -site_base = "http://www.makotemplates.org" + +site_base = os.environ.get("RTD_SITE_BASE", "http://www.makotemplates.org") +site_adapter_template = "docs_adapter.mako" +site_adapter_py = "docs_adapter.py" # The suffix of source filenames. source_suffix = '.rst' -template_bridge = "builder.builders.MakoBridge" - # The encoding of source files. #source_encoding = 'utf-8-sig' @@ -112,7 +112,7 @@ 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 = 'zsmako' # 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 @@ -290,7 +290,3 @@ epub_copyright = u'Mako authors' # Allow duplicate toc entries. #epub_tocdup = True -intersphinx_mapping = { - 'dogpilecache':('http://dogpilecache.readthedocs.org/en/latest', None), - 'beaker':('http://beaker.readthedocs.org/en/latest',None), -} |