forked from faust-streaming/faust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
123 lines (109 loc) · 3.61 KB
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# -*- coding: utf-8 -*-
import sys
from contextlib import suppress
from sphinx_celery import conf
extensions = [] # set by build_config
sys.path.append('.')
globals().update(conf.build_config(
'faust', __file__,
project='Faust',
version_dev='1.1',
version_stable='1.0',
canonical_url='https://faust-streaming.github.io/faust',
webdomain='',
github_project='faust-streaming/faust',
copyright='2017-2020, 2021-2022 Community',
html_logo='images/logo.png',
html_favicon='images/favicon.ico',
html_prepend_sidebars=[],
include_intersphinx={'sphinx'},
extra_extensions=[
'sphinx.ext.napoleon',
'alabaster',
'typehints',
'faustdocs',
'm2r2',
],
extra_intersphinx_mapping={
'aiohttp': ('https://aiohttp.readthedocs.io/en/stable/', None),
'aiokafka': ('https://aiokafka.readthedocs.io/en/stable/', None),
'aredis': ('https://aredis.readthedocs.io/en/latest/', None),
'click': ('https://click.palletsprojects.com/en/7.x/', None),
'kafka-python': (
'https://kafka-python.readthedocs.io/en/master/', None),
'mode': ('https://mode.readthedocs.io/en/latest/', None),
'mypy': ('https://mypy.readthedocs.io/en/latest/', None),
'pytest': ('https://pytest.readthedocs.io/en/latest/', None),
'python': ('https://docs.python.org/dev/', None),
'rocksdb': ('https://python-rocksdb.readthedocs.io/en/latest/', None),
'statsd': ('https://statsd.readthedocs.io/en/latest/', None),
'terminaltables': ('https://robpol86.github.io/terminaltables/', None),
'uvloop': ('https://uvloop.readthedocs.io', None),
'venusian': ('https://venusian.readthedocs.io/en/latest/', None),
'yarl': ('https://yarl.readthedocs.io/en/latest/', None),
},
# django_settings='testproj.settings',
# from pathlib import Path
# path_additions=[Path.cwd().parent / 'testproj']
apicheck_ignore_modules=[
'faust.__main__',
'faust.app._attached',
'faust.assignor',
'faust.cli',
'faust.models',
'faust.serializers',
'faust.types',
'faust.types._env',
'faust.utils',
'faust.utils._iso8601_python',
r'faust.utils.kafka.*',
'faust.web',
r'faust.web.apps.*',
'faust.web.apps.stats.app',
'faust.web.apps.router.app',
'faust',
'faust.web.drivers',
r'.*\._cython.*',
],
))
def configcheck_project_settings():
from faust import Settings
return Settings.setting_names()
html_theme = 'alabaster'
html_sidebars = {
'**': [
'about.html',
'navigation.html',
'relations.html',
'searchbox.html',
],
}
html_theme_options = {
'description': 'A library for building streaming applications in Python.',
'github_banner': True,
'travis_button': True,
'show_related': True,
'github_user': 'faust-streaming',
'pre_bg': '#4c4c4c',
'github_repo': 'faust',
'github_type': 'star',
}
templates_path = ['_templates']
autodoc_member_order = 'bysource'
pygments_style = 'monokai'
# This option is deprecated and raises an error.
with suppress(NameError):
del(html_use_smartypants) # noqa
napoleon_use_keyword = True
applehelp_bundle_id = 'Faust'
epub_identifier = 'Faust'
latex_engine = 'xelatex'
latex_elements = {
'inputenc': '',
'utf8extra': '',
'sphinxsetup':
r'verbatimwithframe=false, VerbatimColor={rgb}{0.47, 0.41, 0.47}',
}
ignored_settings = {'ssl_context'}
def configcheck_should_ignore(setting):
return setting in ignored_settings or setting == 'id'