# 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 import sphinx_rtd_theme project = 'Datadog\'s Go Observability Guide' copyright = '2022, Datadog' author = 'Felix Geisendörfer' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration extensions = ['sphinx_rtd_theme', 'sphinxemoji.sphinxemoji'] templates_path = ['_templates'] 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 = 'sphinx_rtd_theme' html_theme_options = { 'style_nav_header_background': '#5C2EA0', 'collapse_navigation': False, } html_static_path = ['_static'] html_css_files = ['css/custom.css'] # Workaround for html_css_files not getting updated on incremental builds. # https://github.com/sphinx-doc/sphinx/issues/2090#issuecomment-572902572 def env_get_outdated(app, env, added, changed, removed): return ['index'] def setup(app): app.connect('env-get-outdated', env_get_outdated)