Passed
Pull Request — master (#117)
by
unknown
05:28
created

conf   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 76
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 19
dl 0
loc 76
rs 10
c 0
b 0
f 0
1
# Configuration file for the Sphinx documentation builder.
2
#
3
# This file only contains a selection of the most common options. For a full
4
# list see the documentation:
5
# https://www.sphinx-doc.org/en/master/usage/configuration.html
6
7
# -- Path setup --------------------------------------------------------------
8
9
# If extensions (or modules to document with autodoc) are in another directory,
10
# add these directories to sys.path here. If the directory is relative to the
11
# documentation root, use os.path.abspath to make it absolute, like shown here.
12
#
13
# import os
14
# import sys
15
# sys.path.insert(0, os.path.abspath('.'))
16
17
import os
18
import sys
19
20
sys.path.insert(0, os.path.abspath("../"))
21
22
# -- Project information -----------------------------------------------------
23
24
project = "ralph"
25
author = "dadyarri"
26
copyright = f"2019 - 2020, {author}. Licensed under MIT."
27
28
# The full version, including alpha/beta/rc tags
29
with open("../VERSION.txt", "r") as f:
30
    version = release = f.readline()
31
32
33
# -- General configuration ---------------------------------------------------
34
35
# Add any Sphinx extension module names here, as strings. They can be
36
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
37
# ones.
38
extensions = ["sphinx_rtd_theme", "sphinx.ext.napoleon", "sphinx.ext.todo"]
39
40
# Add any paths that contain templates here, relative to this directory.
41
templates_path = ["_templates"]
42
43
# The language for content autogenerated by Sphinx. Refer to documentation
44
# for a list of supported languages.
45
#
46
# This is also used if you do content translation via gettext catalogs.
47
# Usually you set "language" from the command line for these cases.
48
language = "ru"
49
50
# List of patterns, relative to source directory, that match files and
51
# directories to ignore when looking for source files.
52
# This pattern also affects html_static_path and html_extra_path.
53
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
54
55
56
# -- Options for HTML output -------------------------------------------------
57
58
# The theme to use for HTML and HTML Help pages.  See the documentation for
59
# a list of builtin themes.
60
#
61
62
html_theme = "sphinx_rtd_theme"
63
64
# Add any paths that contain custom static files (such as style sheets) here,
65
# relative to this directory. They are copied after the builtin static files,
66
# so a file named "default.css" will overwrite the builtin "default.css".
67
html_static_path = ["_static"]
68
69
html_css_files = ["css/custom.css"]
70
71
html_style = "css/custom.css"
72
73
todo_include_todos = True
74
75
master_doc = "index"
76