mitogen/docs/conf.py

44 lines
1.2 KiB
Python
Raw Normal View History

import os
2017-09-15 06:24:41 +00:00
import sys
2017-09-15 06:24:41 +00:00
sys.path.append('..')
import mitogen
VERSION = '%s.%s.%s' % mitogen.__version__
2017-09-15 06:24:41 +00:00
author = u'David Wilson'
2018-05-02 19:03:00 +00:00
copyright = u'2018, David Wilson'
2017-09-15 06:24:41 +00:00
exclude_patterns = ['_build']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinxcontrib.programoutput']
2017-09-15 06:24:41 +00:00
html_show_sourcelink = False
html_show_sphinx = False
html_sidebars = {'**': ['globaltoc.html', 'github.html']}
html_static_path = ['_static']
html_theme = 'alabaster'
html_theme_options = {
'font_family': "Georgia, serif",
'head_font_family': "Georgia, serif",
2019-02-12 03:28:20 +00:00
'fixed_sidebar': True,
2019-02-12 03:34:34 +00:00
'show_powered_by': False,
2019-02-12 04:17:02 +00:00
'pink_2': 'fffafaf',
'pink_1': '#fff0f0',
}
2017-09-15 06:24:41 +00:00
htmlhelp_basename = 'mitogendoc'
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
2017-09-15 06:24:41 +00:00
language = None
master_doc = 'toc'
project = u'Mitogen'
pygments_style = 'sphinx'
release = VERSION
2017-09-15 06:24:41 +00:00
source_suffix = '.rst'
templates_path = ['_templates']
todo_include_todos = False
version = VERSION
rst_epilog = """
.. |mitogen_version| replace:: %(VERSION)s
.. |mitogen_url| replace:: `mitogen-%(VERSION)s.tar.gz <https://files.pythonhosted.org/packages/source/m/mitogen/mitogen-%(VERSION)s.tar.gz>`__
""" % locals()