Skip to content

Commit

Permalink
Add adi-doc theme specific config
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Aug 13, 2024
1 parent 45b2122 commit eafe8a5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
"ext_pyadi_iio",
]

needs_extensions = {"adi_doctools": "0.3.36"}

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

Expand All @@ -63,6 +65,15 @@
coverage_ignore_classes = ["phy"]
coverage_ignore_modules = ["test.dma_tests", "test.generics"]


# -- External docs configuration ----------------------------------------------

interref_repos = ["doctools"]

# -- Custom extensions configuration ------------------------------------------

hide_collapsible_content = True

# -- Options for PDF output --------------------------------------------------
if os.path.exists(os.path.join("_themes", "pdf_theme")):
extensions.append("sphinx_simplepdf")
Expand Down

0 comments on commit eafe8a5

Please sign in to comment.