Add rtd theme

This commit is contained in:
Felix Geisendörfer 2022-12-24 12:30:11 +01:00
parent 0e3d368cc9
commit a95329bdb7

View file

@ -6,6 +6,8 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
import sphinx_rtd_theme
project = 'Go Observability Guide'
copyright = '2022, Felix Geisendörfer'
author = 'Felix Geisendörfer'
@ -13,7 +15,7 @@ author = 'Felix Geisendörfer'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = []
extensions = ['sphinx_rtd_theme']
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
@ -23,5 +25,5 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']