Backport document changes from main

This commit is contained in:
Veronica Berglyd Olsen
2023-02-26 11:37:28 +01:00
parent 2f3a8f505f
commit 09083ac4f5
9 changed files with 319 additions and 147 deletions
+12 -6
View File
@@ -1,9 +1,6 @@
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config
# Documentation: http://www.sphinx-doc.org/en/master/config
#
# -- Imports -----------------------------------------------------------------
@@ -38,24 +35,33 @@ os.environ["TZ"] = "Europe/Oslo"
time.tzset()
needs_sphinx = "4.0"
extensions = []
templates_path = ["_templates"]
source_suffix = ".rst"
master_doc = "index"
today_fmt = "%A, %d %B %Y at %H:%M"
language = "en"
exclude_patterns = []
pygments_style = "sphinx"
pygments_dark_style = "monokai"
# -- Options for HTML Output -------------------------------------------------
html_theme = "furo"
html_static_path = ["_static"]
html_css_files = ["custom.css"]
html_theme_options = {
"light_logo": "novelwriter-light.png",
"dark_logo": "novelwriter-dark.png",
"navigation_with_keys": True,
"dark_css_variables": {
"admonition-font-size": "92%",
},
"light_css_variables": {
"admonition-font-size": "92%",
},
}
html_title = f"<div style='text-align: center'>Documentation Version {release}</div>"
pygments_style = "tango"
pygments_dark_style = "native"
# -- Options for HTMLHelp Output ---------------------------------------------