rssguard/docs/source/conf.py

48 lines
1.3 KiB
Python
Raw Normal View History

2023-09-27 10:50:15 +02:00
from datetime import date
2023-09-27 07:35:27 +02:00
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'RSS Guard'
2023-09-27 10:50:15 +02:00
copyright = f'{date.today().year}, Martin Rotter'
2023-09-27 07:35:27 +02:00
author = 'Martin Rotter'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
2023-09-29 07:27:53 +02:00
extensions = ['myst_parser', 'sphinx.ext.extlinks']
2023-09-27 07:35:27 +02:00
templates_path = ['_templates']
2023-09-27 10:50:15 +02:00
exclude_patterns = [ 'old_docs' ]
2023-09-27 07:35:27 +02:00
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'sphinx_rtd_theme'
2023-09-27 07:35:27 +02:00
html_static_path = ['_static']
2023-09-27 10:50:15 +02:00
html_logo = '../../resources/graphics/rssguard.png'
2023-09-29 07:27:53 +02:00
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_inline",
"colon_fence",
"deflist",
"dollarmath",
"fieldlist",
"html_admonition",
"html_image",
"linkify",
"replacements",
"smartquotes",
"strikethrough",
"substitution",
"tasklist",
]