Skip to content

Commit 5f0dbb7

Browse files
committed
doc: Enable intersphinx
Allow referencing to Zephyr documentation with the intersphinx extension. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 6edcb56 commit 5f0dbb7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"sphinx_rtd_theme",
1414
"sphinx_tabs.tabs",
1515
'sphinx.ext.autodoc',
16+
"sphinx.ext.intersphinx",
1617
]
1718

1819
templates_path = [str(WEST_BASE / 'doc' / '_templates')]
@@ -28,6 +29,10 @@
2829
html_logo = str(WEST_BASE / "doc" / "_static" / "images" / "logo.png")
2930
html_static_path = [str(WEST_BASE / 'doc' / '_static')]
3031

32+
intersphinx_mapping = {
33+
"zephyr": ("https://docs.zephyrproject.org/latest/", None),
34+
}
35+
3136
pygments_style = "sphinx"
3237
highlight_language = "none"
3338

0 commit comments

Comments
 (0)