Skip to content

Commit 5806ef3

Browse files
committed
doc: nrfxlib: replace breathe with doxybridge
Breathe will no longer be used. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 5c6a442 commit 5806ef3

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

.github/workflows/docbuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
ROOT="$PWD"
114114
115115
# Doxygen APIs combined with Sphinx
116-
declare -a SPHINX_DOXYGEN=("nrf" "zephyr")
116+
declare -a SPHINX_DOXYGEN=("nrf" "nrfxlib" "zephyr")
117117
118118
mkdir doc/_build/html-doxygen
119119
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
manual.name=nrfxlib-apis-__VERSION__
2+
booktitle=nrfxlib APIs - __VERSION__

doc/_zoomin/nrfxlib.apis.tags.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Document tags for Zoomin.
2+
3+
# Tags for all topics:
4+
mapping_global:
5+
- nrfxlib-apis
6+
- nrfxlib-apis-__VERSION__
7+
8+
# Tags for individual topics:
9+
mapping_topics: []

doc/nrfxlib/conf.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333

3434
extensions = [
3535
"sphinx.ext.intersphinx",
36-
"breathe",
3736
"sphinxcontrib.mscgen",
3837
"inventory_builder",
3938
"zephyr.kconfig",
4039
"zephyr.warnings_filter",
4140
"zephyr.external_content",
4241
"zephyr.doxyrunner",
42+
"zephyr.doxybridge",
4343
]
4444
master_doc = "README"
4545

@@ -83,19 +83,16 @@
8383

8484
doxyrunner_doxygen = os.environ.get("DOXYGEN_EXECUTABLE", "doxygen")
8585
doxyrunner_doxyfile = NRF_BASE / "doc" / "nrfxlib" / "nrfxlib.doxyfile.in"
86-
doxyrunner_outdir = utils.get_builddir() / "nrfxlib" / "doxygen"
86+
doxyrunner_outdir = utils.get_builddir() / "html" / "nrfxlib" / "doxygen"
8787
doxyrunner_fmt = True
8888
doxyrunner_fmt_vars = {
8989
"NRFXLIB_BASE": str(NRFXLIB_BASE),
9090
"OUTPUT_DIRECTORY": str(doxyrunner_outdir),
9191
}
9292

93-
# Options for breathe ----------------------------------------------------------
93+
# -- Options for doxybridge plugin ---------------------------------------------
9494

95-
breathe_projects = {"nrfxlib": str(doxyrunner_outdir / "xml")}
96-
breathe_default_project = "nrfxlib"
97-
breathe_domain_by_extension = {"h": "c", "c": "c"}
98-
breathe_separate_member_pages = True
95+
doxybridge_dir = doxyrunner_outdir
9996

10097
# Options for external_content -------------------------------------------------
10198

doc/nrfxlib/nrfxlib.doxyfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ IGNORE_PREFIX =
10291029
# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output
10301030
# The default value is: YES.
10311031

1032-
GENERATE_HTML = NO
1032+
GENERATE_HTML = YES
10331033

10341034
# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
10351035
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of

doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# Extension | NCS | Kconfig | Matter | MCUboot | nrfx | nrfxlib | TF-M | Zephyr |
99
azure-storage-blob # | X | | | | | | | |
10-
breathe # | | | | | | X | | |
10+
breathe # | | | | | | | | |
1111
doxmlparser # | | | | | | | | X |
1212
m2r2 # | | | | | X | | | |
1313
PyYAML # | X | | | | | | | X |

0 commit comments

Comments
 (0)