docs/source/conf.py

42 Zeilen
1,3 KiB
Python

2023-07-07 18:50:01 +02: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
2023-07-08 23:15:25 +02:00
project = 'Nicks'
2023-07-07 18:50:01 +02:00
copyright = '2023, Nick Slowinski'
author = 'Nick Slowinski'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
2023-07-12 13:09:13 +02:00
extensions = [
'notfound.extension',
]
2023-07-07 18:50:01 +02:00
templates_path = ['_templates']
2023-07-07 19:12:08 +02:00
exclude_patterns = []
2023-07-07 18:50:01 +02:00
language = 'de'
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'furo'
html_static_path = ['_static']
# Translation stuff
locale_dirs = ['locale/'] # path is example but recommended.
2023-07-08 23:49:33 +02:00
gettext_compact = False # optional.
html_theme_options = {
"announcement": "<em>Diese Dokumentation befindet sich noch im Aufbau und wird nach für nach vervollständigt.</em>",
2023-07-08 23:54:19 +02:00
"source_edit_link": "https://forge.nick-slowinski.de/nick-slowinski.de/docs/_edit/main/source/{filename}",
2023-07-12 13:09:13 +02:00
}
# 404 extension
notfound_urls_prefix = None