59 lines
1.5 KiB
Python
59 lines
1.5 KiB
Python
from datetime import date
|
|
|
|
# -- Project information -----------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
|
|
|
project = 'RSS Guard'
|
|
copyright = f'{date.today().year}, Martin Rotter'
|
|
author = 'Martin Rotter'
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
|
|
extensions = [
|
|
'myst_parser',
|
|
'sphinx_copybutton',
|
|
'sphinxcontrib.mermaid',
|
|
'sphinx.ext.extlinks']
|
|
templates_path = ['_templates']
|
|
exclude_patterns = [ 'old_docs' ]
|
|
|
|
# -- 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']
|
|
html_logo = '../../resources/graphics/rssguard.png'
|
|
html_favicon = '../../resources/graphics/rssguard.ico'
|
|
|
|
html_theme_options = {
|
|
'collapse_navigation': False,
|
|
'sticky_navigation': True,
|
|
'navigation_depth': -1,
|
|
'includehidden': True,
|
|
'titles_only': False
|
|
}
|
|
|
|
myst_enable_extensions = [
|
|
"amsmath",
|
|
"attrs_block",
|
|
"attrs_inline",
|
|
"colon_fence",
|
|
"deflist",
|
|
"dollarmath",
|
|
"fieldlist",
|
|
"html_admonition",
|
|
"html_image",
|
|
"linkify",
|
|
"replacements",
|
|
"smartquotes",
|
|
"strikethrough",
|
|
"substitution",
|
|
"tasklist",
|
|
]
|
|
|
|
html_css_files = [
|
|
'style.css',
|
|
]
|
|
|
|
myst_heading_anchors = 4 |