-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathconf.py
More file actions
136 lines (116 loc) · 4.58 KB
/
conf.py
File metadata and controls
136 lines (116 loc) · 4.58 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'Dash Platform'
copyright = '2026, Dash Core Group, Inc'
author = 'thephez'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = u'latest'
# The full version, including alpha/beta/rc tags.
release = u'latest'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
'hoverxref.extension',
'myst_parser',
'sphinx.ext.autodoc',
'sphinx_copybutton',
'sphinx_design',
'sphinxcontrib.googleanalytics',
'sphinx.ext.intersphinx',
]
templates_path = ['_templates']
exclude_patterns = [
'_build',
'Thumbs.db',
'.DS_Store',
'README.md',
'.devcontainer',
'.local',
'scripts',
'img/dev/gifs/README.md',
'docs/other',
'docs/ai-prompt.md',
'platform-src'
]
# The master toctree document.
master_doc = 'index'
hoverxref_role_types = {
'hoverxref': 'tooltip',
}
# -- Myst parser configuration -----------------------------------------------
# Auto-generate header anchors for md headings
myst_heading_anchors = 6
# Enable colon_fence for better markdown compatibility
# https://myst.tools/docs/mystjs/syntax-overview#directives
myst_enable_extensions = ["colon_fence"]
# -- intersphinx configuration -----------------------------------------------
intersphinx_mapping = {
"user": ("https://docs.dash.org/en/stable/", None),
"core": ("https://docs.dash.org/projects/core/en/stable/", None),
}
# We recommend adding the following config value.
# Sphinx defaults to automatically resolve *unresolved* labels using all your Intersphinx mappings.
# This behavior has unintended side-effects, namely that documentations local references can
# suddenly resolve to an external location.
# See also:
# https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_disabled_reftypes
intersphinx_disabled_reftypes = ["*"]
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = "pydata_sphinx_theme"
html_static_path = ['_static']
html_logo = 'img/dash_logo.png'
html_favicon = "_static/img/favicon-144x144.png"
html_css_files = [
'css/footer.css',
'css/pydata-overrides.css',
]
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
#
html_sidebars = {
"index": ["sidebar-main.html"],
"**": ["sidebar-nav-bs"]
}
html_theme_options = {
# "announcement": "This development version of documentation covers unreleased features.<br>See the <a href='https://docs.dash.org/platform'>stable version of the documentation</a> for information about the currently deployed Platform.",
"external_links": [
{"name": "Core docs", "url": "https://docs.dash.org/en/stable/docs/core/index.html"},
{"name": "User docs", "url": "https://docs.dash.org/"},
{"name": "Dash.org", "url": "https://www.dash.org"},
{"name": "Forum", "url": "https://www.dash.org/forum"},
],
"use_edit_page_button": True,
"github_url": "https://github.com/dashpay/docs-platform",
"show_toc_level": 2,
"show_nav_level": 1,
"footer_start": ["copyright"],
"footer_center": ["sphinx-version"],
"footer_end": ["theme-version"],
# "navbar_start": ["navbar-logo", "languages"],
# "navbar_center": ["languages", "navbar-nav", "languages"],
# "navbar_end": ["navbar-icon-links", "version"],
# "secondary_sidebar_items": ["languages", "page-toc", "edit-this-page", "sourcelink"],
# "footer_items": ["languages", "copyright", "sphinx-version", "theme-version"],
# "primary_sidebar_end": ["languages"],
}
html_context = {
# "github_url": "https://github.com", # or your GitHub Enterprise site
"github_user": "dashpay",
"github_repo": "docs-platform",
"github_version": "3.1.0",
"doc_path": "",
}
# -- Google analytics config ----------------------------------------------
googleanalytics_id = 'G-B3JNYGTPR0'
googleanalytics_enabled = True
def setup(app):
app.add_js_file('js/pydata-search-close.js')