2023-08-16 12:57:14 +00:00
|
|
|
# Configuration file for the Sphinx documentation builder.
|
|
|
|
#
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
|
|
|
|
|
|
# -- Project information -----------------------------------------------------
|
|
|
|
|
|
|
|
project = 'HDL, Analog Devices'
|
|
|
|
copyright = '2023, Analog Devices Inc'
|
|
|
|
author = 'Analog Devices Inc'
|
|
|
|
release = 'v0.1'
|
|
|
|
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
|
|
|
|
|
|
import os, sys
|
|
|
|
|
2023-10-06 12:23:50 +00:00
|
|
|
user = os.environ.get("USER")
|
2023-08-16 12:57:14 +00:00
|
|
|
sys.path.append(os.path.abspath("./extensions"))
|
|
|
|
|
|
|
|
extensions = [
|
|
|
|
"sphinx.ext.todo",
|
|
|
|
"sphinx.ext.viewcode",
|
|
|
|
"sphinxcontrib.mermaid",
|
|
|
|
"sphinxcontrib.wavedrom",
|
|
|
|
"symbolator_sphinx",
|
|
|
|
"adi_links",
|
|
|
|
"adi_hdl_parser"
|
|
|
|
]
|
|
|
|
|
|
|
|
templates_path = ['sources/template']
|
|
|
|
|
|
|
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
|
|
|
|
|
|
|
# -- Custom extensions configuration -------------------------------------------
|
|
|
|
|
2023-08-18 20:29:31 +00:00
|
|
|
hide_collapsible_content = True
|
2023-08-07 19:31:41 +00:00
|
|
|
|
2023-08-16 12:57:14 +00:00
|
|
|
# -- todo configuration -------------------------------------------------------
|
|
|
|
|
|
|
|
todo_include_todos = True
|
|
|
|
todo_emit_warnings = True
|
|
|
|
|
|
|
|
# -- Symbolator configuration -------------------------------------------------
|
|
|
|
|
2023-10-06 12:23:50 +00:00
|
|
|
symbolator_cmd = f"/home/{user}/.local/bin/symbolator"
|
2023-08-16 12:57:14 +00:00
|
|
|
symbolator_cmd_args = ['-t', '--scale=0.75']
|
|
|
|
|
|
|
|
# -- Options for HTML output --------------------------------------------------
|
|
|
|
|
|
|
|
html_theme = 'furo'
|
|
|
|
html_static_path = ['sources']
|
|
|
|
source_suffix = '.rst'
|
|
|
|
html_css_files = ["custom.css"]
|
|
|
|
html_favicon = "sources/icon.svg"
|