Debian Codegraph @

docs/conf.py

raw
1 extensions = [
2 'sphinx.ext.autodoc',
3 'sphinx.ext.autosummary',
4 'sphinx.ext.coverage',
5 'sphinx.ext.doctest',
6 'sphinx.ext.extlinks',
7 'sphinx.ext.ifconfig',
8 'sphinx.ext.napoleon',
9 'sphinx.ext.todo',
10 'sphinx.ext.viewcode',
11 ]
12 source_suffix = '.rst'
13 master_doc = 'index'
14 project = 'tblib'
15 year = '2013-2025'
16 author = 'Ionel Cristian Mărieș'
17 copyright = f'{year}, {author}'
18 version = release = '3.2.2'
19
20 pygments_style = 'trac'
21 templates_path = ['.']
22 extlinks = {
23 'issue': ('https://github.com/ionelmc/python-tblib/issues/%s', '#%s'),
24 'pr': ('https://github.com/ionelmc/python-tblib/pull/%s', 'PR #%s'),
25 }
26
27 html_theme = 'furo'
28 html_theme_options = {
29 'source_repository': 'https://github.com/ionelmc/python-tblib/',
30 'source_branch': 'master',
31 'source_directory': 'docs/',
32 'footer_icons': [
33 {
34 'url': 'https://github.com/ionelmc/python-tblib/',
35 'html': 'github.com/ionelmc/python-tblib',
36 },
37 ],
38 }
39
40 html_use_smartypants = True
41 html_last_updated_fmt = '%b %d, %Y'
42 html_split_index = False
43 html_short_title = f'{project}-{version}'
44
45 napoleon_use_ivar = True
46 napoleon_use_rtype = False
47 napoleon_use_param = False