Debian Codegraph @

docs/conf.py

raw
1 # Configuration file for the Sphinx documentation builder.
2 #
3 # For the full list of built-in configuration values, see the documentation:
4 # https://www.sphinx-doc.org/en/master/usage/configuration.html
5
6
7 from aiomysql import __version__
8
9 # -- Project information -----------------------------------------------------
10 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
11
12 project = 'aiomysql'
13 copyright = '2015,2016 Nikolay Novik'
14 author = 'Nikolay Novik'
15
16 version = '.'.join(__version__.split('.')[:2])
17 release = __version__
18
19 # -- General configuration ---------------------------------------------------
20 # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
21
22 extensions = [
23 'sphinx.ext.autodoc',
24 'sphinx.ext.intersphinx',
25 'sphinx.ext.viewcode',
26 'sphinx_copybutton',
27 ]
28
29 intersphinx_mapping = {
30 'python': ('https://docs.python.org/3', None),
31 }
32
33 templates_path = ['_templates']
34 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
35
36 language = 'en'
37
38 highlight_language = 'python3'
39
40
41 # -- Options for HTML output -------------------------------------------------
42 # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
43
44 html_theme = 'furo'
45
46 htmlhelp_basename = 'aiomysqldoc'