53 lines
1.4 KiB
Python
Executable File
53 lines
1.4 KiB
Python
Executable File
# 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
|
|
|
|
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 -------------------------------------------
|
|
|
|
hide_collapsible_content = False
|
|
|
|
# -- todo configuration -------------------------------------------------------
|
|
|
|
todo_include_todos = True
|
|
todo_emit_warnings = True
|
|
|
|
# -- Symbolator configuration -------------------------------------------------
|
|
|
|
symbolator_cmd = '~/.local/bin/symbolator' # Update with your installed location
|
|
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"
|