2024-09-23 16:01:31 +08:00
|
|
|
# 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 = 'AimRT'
|
|
|
|
copyright = '2024, Agibot'
|
|
|
|
author = 'Agibot'
|
2025-01-06 17:39:25 +08:00
|
|
|
release = 'v0.10.0'
|
2024-09-23 16:01:31 +08:00
|
|
|
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
|
|
|
|
|
|
extensions = [
|
|
|
|
'sphinx.ext.autodoc',
|
|
|
|
'sphinx.ext.napoleon',
|
|
|
|
'sphinx.ext.viewcode',
|
|
|
|
'myst_parser',
|
|
|
|
'sphinx_design',
|
|
|
|
]
|
|
|
|
|
|
|
|
templates_path = ['_templates']
|
|
|
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
|
|
|
|
|
|
html_theme = 'alabaster'
|
|
|
|
html_static_path = ['_static']
|
|
|
|
|
|
|
|
html_theme = 'sphinx_rtd_theme'
|
|
|
|
|
|
|
|
source_suffix = {
|
|
|
|
'.rst': 'restructuredtext',
|
|
|
|
'.md': 'markdown',
|
|
|
|
}
|
|
|
|
|
|
|
|
myst_enable_extensions = [
|
|
|
|
"dollarmath",
|
|
|
|
"amsmath",
|
|
|
|
"deflist",
|
|
|
|
"html_admonition",
|
|
|
|
"html_image",
|
|
|
|
"colon_fence",
|
|
|
|
"smartquotes",
|
|
|
|
"replacements",
|
|
|
|
"linkify",
|
|
|
|
"substitution",
|
|
|
|
"tasklist",
|
|
|
|
]
|
|
|
|
|
|
|
|
myst_substitutions = {
|
|
|
|
"code_site_url": "https://github.com/AimRT/AimRT",
|
2024-10-14 09:45:07 +08:00
|
|
|
"code_site_root_path_url": "https://github.com/AimRT/AimRT/blob/main",
|
2024-09-23 16:01:31 +08:00
|
|
|
}
|
2024-11-21 10:57:28 +08:00
|
|
|
|
|
|
|
html_show_sourcelink = False
|