You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.6 KiB
54 lines
1.6 KiB
# 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 = 'PyQt-Fluent-Widgets'
|
|
copyright = '2023, zhiyiYo'
|
|
author = 'zhiyiYo'
|
|
release = 'v0.4.0'
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
|
|
source_parsers = {
|
|
'.md': 'recommonmark.parser.CommonMarkParser',
|
|
}
|
|
source_suffix = ['.rst', '.md']
|
|
extensions = ['recommonmark', 'sphinx_markdown_tables']
|
|
|
|
templates_path = ['_templates']
|
|
exclude_patterns = []
|
|
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
|
|
html_theme = 'sphinx_rtd_theme'
|
|
html_static_path = ['_static']
|
|
|
|
# Theme options are theme-specific and customize the look and feel of a theme
|
|
# further. For a list of options available for each theme, see the
|
|
# documentation.
|
|
html_theme_options = {
|
|
"sidebar_hide_name": False,
|
|
}
|
|
|
|
html_show_sourcelink = True
|
|
html_title = "PyQt-Fluent-Widgets"
|
|
html_favicon = "_static/logo.png"
|
|
html_css_files = [
|
|
'css/fancybox.css',
|
|
'css/custom.css',
|
|
]
|
|
html_js_files = [
|
|
'js/fancybox.umd.js',
|
|
'js/fancybox.js',
|
|
]
|
|
|
|
copybutton_prompt_text = r">>> |\.\.\. |\$ |In \[\d*\]: | {2,5}\.\.\.: | {5,8}: "
|
|
copybutton_prompt_is_regexp = True
|