mitogen/docs/conf.py

45 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'
2019-02-14 21:21:45 +00:00
copyright = u'2019, 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']}
2019-03-30 23:39:56 +00:00
html_additional_pages = {'ansible': 'ansible.html'}
2017-09-15 06:24:41 +00:00
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()