2017-09-15 06:24:41 +00:00
|
|
|
|
import sys
|
2018-04-27 02:48:31 +00:00
|
|
|
|
|
2019-08-17 17:25:55 +00:00
|
|
|
|
sys.path.append('.')
|
2023-11-14 14:09:21 +00:00
|
|
|
|
|
2024-07-30 08:06:57 +00:00
|
|
|
|
VERSION = '0.3.8'
|
2018-04-27 02:48:31 +00:00
|
|
|
|
|
2019-04-02 11:46:30 +00:00
|
|
|
|
author = u'Network Genomics'
|
2021-01-14 20:07:47 +00:00
|
|
|
|
copyright = u'2021, the Mitogen authors'
|
2019-08-10 16:21:11 +00:00
|
|
|
|
exclude_patterns = ['_build', '.venv']
|
2019-08-17 17:25:55 +00:00
|
|
|
|
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinxcontrib.programoutput', 'domainrefs']
|
2019-08-18 00:11:38 +00:00
|
|
|
|
|
|
|
|
|
# get rid of version from <title>, it messes with piwik
|
|
|
|
|
html_title = 'Mitogen Documentation'
|
|
|
|
|
|
2019-07-30 19:33:11 +00:00
|
|
|
|
html_show_copyright = False
|
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
|
|
|
|
|
|
2019-08-17 17:25:55 +00:00
|
|
|
|
domainrefs = {
|
|
|
|
|
'gh:commit': {
|
|
|
|
|
'text': '%s',
|
2023-08-15 13:22:50 +00:00
|
|
|
|
'url': 'https://github.com/mitogen-hq/mitogen/commit/%s',
|
2019-08-17 17:25:55 +00:00
|
|
|
|
},
|
|
|
|
|
'gh:issue': {
|
|
|
|
|
'text': '#%s',
|
2023-08-15 13:22:50 +00:00
|
|
|
|
'url': 'https://github.com/mitogen-hq/mitogen/issues/%s',
|
2019-08-17 17:25:55 +00:00
|
|
|
|
},
|
|
|
|
|
'gh:pull': {
|
|
|
|
|
'text': '#%s',
|
2023-08-15 13:22:50 +00:00
|
|
|
|
'url': 'https://github.com/mitogen-hq/mitogen/pull/%s',
|
2019-08-17 17:25:55 +00:00
|
|
|
|
},
|
|
|
|
|
'ans:mod': {
|
2019-08-18 14:49:24 +00:00
|
|
|
|
'text': '%s module',
|
2019-08-17 17:25:55 +00:00
|
|
|
|
'url': 'https://docs.ansible.com/ansible/latest/modules/%s_module.html',
|
|
|
|
|
},
|
|
|
|
|
'ans:conn': {
|
2019-08-18 14:49:24 +00:00
|
|
|
|
'text': '%s connection plug-in',
|
2019-08-17 17:25:55 +00:00
|
|
|
|
'url': 'https://docs.ansible.com/ansible/latest/plugins/connection/%s.html',
|
|
|
|
|
},
|
|
|
|
|
'freebsd:man2': {
|
|
|
|
|
'text': '%s(2)',
|
2023-08-15 13:22:50 +00:00
|
|
|
|
'url': 'https://man.freebsd.org/cgi/man.cgi?query=%s',
|
2019-08-17 17:25:55 +00:00
|
|
|
|
},
|
|
|
|
|
'linux:man1': {
|
|
|
|
|
'text': '%s(1)',
|
2023-08-15 13:22:50 +00:00
|
|
|
|
'url': 'https://man7.org/linux/man-pages/man1/%s.1.html',
|
2019-08-17 17:25:55 +00:00
|
|
|
|
},
|
|
|
|
|
'linux:man2': {
|
|
|
|
|
'text': '%s(2)',
|
2023-08-15 13:22:50 +00:00
|
|
|
|
'url': 'https://man7.org/linux/man-pages/man2/%s.2.html',
|
2019-08-17 17:25:55 +00:00
|
|
|
|
},
|
|
|
|
|
'linux:man3': {
|
|
|
|
|
'text': '%s(3)',
|
2023-08-15 13:22:50 +00:00
|
|
|
|
'url': 'https://man7.org/linux/man-pages/man3/%s.3.html',
|
2019-08-17 17:25:55 +00:00
|
|
|
|
},
|
|
|
|
|
'linux:man7': {
|
|
|
|
|
'text': '%s(7)',
|
2023-08-15 13:22:50 +00:00
|
|
|
|
'url': 'https://man7.org/linux/man-pages/man7/%s.7.html',
|
2019-08-17 17:25:55 +00:00
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-14 14:05:25 +00:00
|
|
|
|
# > ## Official guidance
|
|
|
|
|
# > Query PyPI’s JSON API to determine where to download files from.
|
|
|
|
|
# > ## Predictable URLs
|
|
|
|
|
# > You can use our conveyor service to fetch this file, which exists for
|
|
|
|
|
# > cases where using the API is impractical or impossible.
|
|
|
|
|
# > -- https://warehouse.pypa.io/api-reference/integration-guide.html#predictable-urls
|
2018-07-14 04:50:27 +00:00
|
|
|
|
rst_epilog = """
|
|
|
|
|
|
|
|
|
|
.. |mitogen_version| replace:: %(VERSION)s
|
|
|
|
|
|
2023-11-14 14:05:25 +00:00
|
|
|
|
.. |mitogen_url| replace:: `mitogen-%(VERSION)s.tar.gz <https://files.pythonhosted.org/packages/source/m/mitogen/mitogen-%(VERSION)s.tar.gz>`__
|
2018-07-14 04:50:27 +00:00
|
|
|
|
|
|
|
|
|
""" % locals()
|