conf   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 53
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 42
dl 0
loc 53
rs 10
c 0
b 0
f 0
1
# -*- coding: utf-8 -*-
2
from __future__ import unicode_literals
3
4
import os
5
6
7
extensions = [
8
    "sphinx.ext.autodoc",
9
    "sphinx.ext.autosummary",
10
    "sphinx.ext.coverage",
11
    "sphinx.ext.doctest",
12
    "sphinx.ext.extlinks",
13
    "sphinx.ext.ifconfig",
14
    "sphinx.ext.napoleon",
15
    "sphinx.ext.todo",
16
    "sphinx.ext.viewcode",
17
    "sphinx.ext.imgconverter",
18
]
19
if os.getenv("SPELLCHECK"):
20
    extensions += ("sphinxcontrib.spelling",)
21
    spelling_show_suggestions = True
22
    spelling_lang = "en_US"
23
24
source_suffix = ".rst"
25
master_doc = "index"
26
project = "Mypy Structured Data"
27
year = "2019"
28
author = "Max Woerner Chase"
29
copyright = "{0}, {1}".format(year, author)
30
version = release = "0.1.1"
31
32
pygments_style = "trac"
33
templates_path = ["."]
34
extlinks = {
35
    "issue": ("https://github.com/mwchase/python-mypy-structured-data/issues/%s", "#"),
36
    "pr": ("https://github.com/mwchase/python-mypy-structured-data/pull/%s", "PR #"),
37
}
38
import sphinx_py3doc_enhanced_theme
39
40
html_theme = "sphinx_py3doc_enhanced_theme"
41
html_theme_path = [sphinx_py3doc_enhanced_theme.get_html_theme_path()]
42
html_theme_options = {"githuburl": "https://github.com/mwchase/python-mypy-structured-data/"}
43
44
html_use_smartypants = True
45
html_last_updated_fmt = "%b %d, %Y"
46
html_split_index = False
47
html_sidebars = {"**": ["searchbox.html", "globaltoc.html", "sourcelink.html"]}
48
html_short_title = "%s-%s" % (project, version)
49
50
napoleon_use_ivar = True
51
napoleon_use_rtype = False
52
napoleon_use_param = False
53