-
Notifications
You must be signed in to change notification settings - Fork 297
/
conf.py
79 lines (66 loc) · 1.84 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Configuration file for the Sphinx documentation builder.
#
# Full list of options can be found in the Sphinx documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import os
import sys
# add the demo python code to the path, so that it can be used to demonstrate
# source links
sys.path.append(os.path.abspath("./kitchen-sink/demo_py"))
#
# -- Project information -----------------------------------------------------
#
project = "furo"
copyright = "2020, Pradyun Gedam"
author = "Pradyun Gedam"
#
# -- General configuration ---------------------------------------------------
#
extensions = [
# Sphinx's own extensions
"sphinx.ext.autodoc",
"sphinx.ext.extlinks",
"sphinx.ext.intersphinx",
"sphinx.ext.mathjax",
"sphinx.ext.todo",
"sphinx.ext.viewcode",
# Our custom extension, only meant for Furo's own documentation.
"furo.sphinxext",
# External stuff
"myst_parser",
"sphinx_copybutton",
"sphinx_inline_tabs",
]
templates_path = ["_templates"]
#
# -- Options for extlinks ----------------------------------------------------
#
extlinks = {
"pypi": ("https://pypi.org/project/%s/", ""),
}
#
# -- Options for intersphinx -------------------------------------------------
#
intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"sphinx": ("https://www.sphinx-doc.org/en/master", None),
}
#
# -- Options for TODOs -------------------------------------------------------
#
todo_include_todos = True
#
# -- Options for Markdown files ----------------------------------------------
#
myst_enable_extensions = [
"colon_fence",
"deflist",
]
myst_heading_anchors = 3
#
# -- Options for HTML output -------------------------------------------------
#
html_theme = "furo"
html_title = "Furo"
html_static_path = ["_static"]
html_css_files = ["pied-piper-admonition.css"]