2024-02-22 14:32:04 +00:00
|
|
|
# -- Project information ------------------------------------------------------
|
2023-08-16 12:57:14 +00:00
|
|
|
|
2024-02-22 14:32:04 +00:00
|
|
|
repository = 'hdl'
|
|
|
|
project = 'HDL'
|
|
|
|
copyright = '2024, Analog Devices, Inc.'
|
|
|
|
author = 'Analog Devices, Inc.'
|
2023-08-16 12:57:14 +00:00
|
|
|
|
2024-02-22 14:32:04 +00:00
|
|
|
# -- General configuration ----------------------------------------------------
|
2023-08-16 12:57:14 +00:00
|
|
|
|
|
|
|
extensions = [
|
2024-02-22 14:32:04 +00:00
|
|
|
"sphinx.ext.todo",
|
|
|
|
"sphinx.ext.intersphinx",
|
|
|
|
"sphinxcontrib.wavedrom",
|
|
|
|
"adi_doctools"
|
2023-08-16 12:57:14 +00:00
|
|
|
]
|
|
|
|
|
2024-02-22 14:32:04 +00:00
|
|
|
needs_extensions = {
|
|
|
|
'adi_doctools': '0.3'
|
|
|
|
}
|
2023-08-16 12:57:14 +00:00
|
|
|
|
|
|
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
2024-02-22 14:32:04 +00:00
|
|
|
source_suffix = '.rst'
|
2023-08-16 12:57:14 +00:00
|
|
|
|
2024-02-22 14:32:04 +00:00
|
|
|
# -- External docs configuration ----------------------------------------------
|
|
|
|
|
|
|
|
intersphinx_mapping = {
|
|
|
|
'doctools': ('https://analogdevicesinc.github.io/doctools', None)
|
|
|
|
}
|
|
|
|
|
|
|
|
# -- Custom extensions configuration ------------------------------------------
|
2023-08-16 12:57:14 +00:00
|
|
|
|
2023-08-18 20:29:31 +00:00
|
|
|
hide_collapsible_content = True
|
docs: links, drop part, fixups, codeowners
Drop part role, use generic adi instead for root adi domain links.
For future reference, the snipped used was:
find ./docs/projects -type f -exec sed -i 's/:part:/:adi:/g' {} \;
Drop Containerfile.
Add option to validate links status (e.g. 200, 404), intended mostly for CI
use to check if a page has disappeared from the internet.
Validate links uses coroutines to launch multiple tasks concurrently,
but do it in bundles to avoid being rate limited.
Fixup regmap styling.
Add imoldovan, jmarques, spop, lbarbosa as docs codeowners.
Remove branch field for links to the hdl repo.
Change git role to display full path.
Fixup ZedBoard link label, remove IP List, add SYSID_ROM dokuwiki link
in ad716_sdz project.
Signed-off-by: Jorge Marques <jorge.marques@analog.com>
2023-11-13 15:42:46 +00:00
|
|
|
validate_links = False
|
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
|
|
|
|
|
|
|
|
# -- Options for HTML output --------------------------------------------------
|
|
|
|
|
2024-02-22 14:32:04 +00:00
|
|
|
html_theme = 'cosmic'
|
2023-08-16 12:57:14 +00:00
|
|
|
html_static_path = ['sources']
|
|
|
|
html_css_files = ["custom.css"]
|
|
|
|
html_favicon = "sources/icon.svg"
|