2018-04-27 02:48:31 +00:00
|
|
|
import os
|
2017-09-15 06:24:41 +00:00
|
|
|
import sys
|
2018-04-27 02:48:31 +00:00
|
|
|
|
2017-09-15 06:24:41 +00:00
|
|
|
sys.path.append('..')
|
2018-07-14 04:50:27 +00:00
|
|
|
import mitogen
|
|
|
|
VERSION = '%s.%s.%s' % mitogen.__version__
|
2018-04-27 02:48:31 +00:00
|
|
|
|
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']
|
2017-09-21 16:52:43 +00:00
|
|
|
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'
|
2018-04-09 19:10:39 +00:00
|
|
|
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',
|
2018-04-09 19:10:39 +00:00
|
|
|
}
|
2017-09-15 06:24:41 +00:00
|
|
|
htmlhelp_basename = 'mitogendoc'
|
2018-08-18 13:15:37 +00:00
|
|
|
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'
|
2018-07-14 04:50:27 +00:00
|
|
|
release = VERSION
|
2017-09-15 06:24:41 +00:00
|
|
|
source_suffix = '.rst'
|
|
|
|
templates_path = ['_templates']
|
|
|
|
todo_include_todos = False
|
2018-07-14 04:50:27 +00:00
|
|
|
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()
|