-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathconf.py
60 lines (49 loc) · 1.8 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
"""Sphinx configuration file for pystack's documentation."""
# -- General configuration ------------------------------------------------------------
# The name of a reST role (builtin or Sphinx extension) to use as the default role,
# that is, for text marked up `like this`. This can be set to 'py:obj' to make `filter`
# a cross-reference to the Python function “filter”. The default is None,
# which doesn’t reassign the default role.
default_role = "py:obj"
extensions = [
# first-party extensions
"sphinx.ext.autodoc",
"sphinx.ext.doctest",
"sphinx.ext.extlinks",
"sphinx.ext.githubpages",
"sphinx.ext.intersphinx",
"sphinx.ext.napoleon",
"sphinx.ext.todo",
"sphinx.ext.viewcode",
# third-party extensions
"sphinxarg.ext",
]
# General information about the project.
project = "pystack"
author = "Pablo Galindo Salgado"
# -- Options for HTML -----------------------------------------------------------------
html_title = project
html_theme = "furo"
html_static_path = ["_static"]
html_logo = "_static/images/logo.png"
html_theme_options = {
"sidebar_hide_name": True,
}
templates_path = ["_templates"]
html_additional_pages = {
"index": "index.html",
}
root_doc = "overview"
html_favicon = "favicon.ico"
# -- Options for smartquotes ----------------------------------------------------------
# Disable the conversion of dashes so that long options like "--find-links" won't
# render as "-find-links" if included in the text.The default of "qDe" converts normal
# quote characters ('"' and "'"), en and em dashes ("--" and "---"), and ellipses "..."
smartquotes_action = "qe"
# -- Options for intersphinx ----------------------------------------------------------
intersphinx_mapping = {
"python": (
"https://docs.python.org/3",
(None,),
),
}