spiff-arena/docs/conf.py

53 lines
1.8 KiB
Python
Raw Normal View History

2023-05-18 14:49:44 +00: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
# note that backend had autoapi hooked up at one point to generate python API docs.
# if we want that again some day, here were the docs in that sub-folder docs dir:
# https://github.com/sartography/spiff-arena/blob/d9b303db782b1004a818c426283e9cfbc5ed0ec7/spiffworkflow-backend/docs/conf.py
2024-05-01 13:46:42 +00:00
project = "SpiffWorkflow"
copyright = "2023, Sartography"
author = "Sartography" # Very ok to add your name here.
release = "0.1"
2023-05-18 14:49:44 +00:00
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
2024-05-01 13:46:42 +00:00
extensions = ["myst_parser", "sphinxcontrib.mermaid"]
myst_fence_as_directive = ["mermaid"]
myst_heading_anchors = 2
2023-05-18 14:49:44 +00:00
2024-05-01 13:46:42 +00:00
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", ".venv"]
2023-05-18 14:49:44 +00:00
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
2024-05-01 13:46:42 +00:00
# html_theme = 'alabaster'
2023-05-18 14:49:44 +00:00
html_theme = "sphinx_rtd_theme"
2024-05-01 13:46:42 +00:00
html_static_path = ["static"]
2023-05-18 14:49:44 +00:00
html_logo = "spiffworkflow_logo.png"
2023-05-18 14:49:44 +00:00
html_theme_options = {
2024-05-01 13:46:42 +00:00
"logo_only": True,
"display_version": False,
"prev_next_buttons_location": "bottom",
"style_external_links": False,
"vcs_pageview_mode": "",
# Toc options
2024-05-01 13:46:42 +00:00
"collapse_navigation": False,
"sticky_navigation": True,
"navigation_depth": 4,
"includehidden": True,
"titles_only": False,
2023-05-18 14:49:44 +00:00
}
html_css_files = ["custom.css"]