Skip to content

Commit c4e11d2

Browse files
committed
doc: nrfxlib: enable gh_utils extension
So that links to GH blobs can be obtained. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 8ef71a2 commit c4e11d2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/nrfxlib/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"zephyr.doxyrunner",
4242
"zephyr.doxybridge",
4343
"zephyr.domain",
44+
"zephyr.gh_utils",
4445
]
4546
master_doc = "README"
4647

@@ -102,6 +103,11 @@
102103

103104
external_content_contents = [(NRFXLIB_BASE, "**/*.rst"), (NRFXLIB_BASE, "**/doc/")]
104105

106+
# -- Options for zephyr.gh_utils -----------------------------------------------
107+
108+
gh_link_version = "main" if version.endswith("99") else f"v{version}"
109+
gh_link_base_url = f"https://github.com/nrfconnect/sdk-nrfxlib"
110+
105111

106112
def setup(app):
107113
app.add_css_file("css/nrfxlib.css")

0 commit comments

Comments
 (0)