Make some modifications to docs config
This commit is contained in:
+5
-6
@@ -1,9 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Configuration file for the Sphinx documentation builder.
|
# Configuration file for the Sphinx documentation builder.
|
||||||
#
|
# Documentation: http://www.sphinx-doc.org/en/master/config
|
||||||
# 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
|
|
||||||
#
|
#
|
||||||
|
|
||||||
# -- Imports -----------------------------------------------------------------
|
# -- Imports -----------------------------------------------------------------
|
||||||
@@ -38,14 +35,13 @@ os.environ["TZ"] = "Europe/Oslo"
|
|||||||
time.tzset()
|
time.tzset()
|
||||||
|
|
||||||
needs_sphinx = "4.0"
|
needs_sphinx = "4.0"
|
||||||
|
extensions = []
|
||||||
templates_path = ["_templates"]
|
templates_path = ["_templates"]
|
||||||
source_suffix = ".rst"
|
source_suffix = ".rst"
|
||||||
master_doc = "index"
|
master_doc = "index"
|
||||||
today_fmt = "%A, %d %B %Y at %H:%M"
|
today_fmt = "%A, %d %B %Y at %H:%M"
|
||||||
language = "en"
|
language = "en"
|
||||||
exclude_patterns = []
|
exclude_patterns = []
|
||||||
pygments_style = "sphinx"
|
|
||||||
pygments_dark_style = "monokai"
|
|
||||||
|
|
||||||
# -- Options for HTML Output -------------------------------------------------
|
# -- Options for HTML Output -------------------------------------------------
|
||||||
|
|
||||||
@@ -54,8 +50,11 @@ html_static_path = ["_static"]
|
|||||||
html_theme_options = {
|
html_theme_options = {
|
||||||
"light_logo": "novelwriter-light.png",
|
"light_logo": "novelwriter-light.png",
|
||||||
"dark_logo": "novelwriter-dark.png",
|
"dark_logo": "novelwriter-dark.png",
|
||||||
|
"navigation_with_keys": True,
|
||||||
}
|
}
|
||||||
html_title = f"<div style='text-align: center'>Documentation Version {release}</div>"
|
html_title = f"<div style='text-align: center'>Documentation Version {release}</div>"
|
||||||
|
pygments_style = "tango"
|
||||||
|
pygments_dark_style = "native"
|
||||||
|
|
||||||
# -- Options for HTMLHelp Output ---------------------------------------------
|
# -- Options for HTMLHelp Output ---------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,11 @@ the pip tool. See :ref:`a_started` for more details.
|
|||||||
* PyPi Project: https://pypi.org/project/novelWriter
|
* PyPi Project: https://pypi.org/project/novelWriter
|
||||||
* Social Media: https://fosstodon.org/@novelwriter
|
* Social Media: https://fosstodon.org/@novelwriter
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
Main Page <self>
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
:caption: Introduction
|
:caption: Introduction
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
furo
|
furo
|
||||||
sphinx>=4.0
|
sphinx>=4.0
|
||||||
pygments>=2.7
|
pygments>=2.7
|
||||||
docutils==0.17.1
|
docutils>=0.17.1
|
||||||
|
|||||||
Reference in New Issue
Block a user