• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

buildfiles/18-Mar-2025-754623

images/18-Mar-2025-

sphinx/18-Mar-2025-334221

README.mdD18-Mar-20251.1 KiB4228

generate_html_doc.batD18-Mar-202555 32

generate_html_doc.shD18-Mar-202566 52

generate_sphinx_doc.batD18-Mar-2025111 43

generate_sphinx_doc.shD18-Mar-2025136 43

nrfx_examples.doxyfileD18-Mar-2025117.4 KiB2,6982,105

nrfx_examples_descriptions.doxD18-Mar-20252.5 KiB7462

README.md

1# Building the documentation
2
3## Doxygen
4
5Generate the Doxygen-based documentation by running:
6
7```shell
8doxygen nrfx_examples.doxyfile
9```
10
11You can also use the provided script `generate_html_doc.sh` located in the `doc` folder.
12The output can be viewed by navigating to `html` folder and opening `index.html` file.
13
14## Sphinx
15
16All the necessary files to compile the Sphinx based documentation for `nrfx_examples`
17are located under `sphinx` folder. As of today the content should match with
18the one produced using `doxygen` only.
19
20### Requirements
21
22You will need to have Python 3 installed as well as some dependencies, which can
23be installed by running:
24
25```shell
26pip install -r requirements.txt
27```
28
29### Build
30
31You may want to use the provided script `generate_sphinx_doc.sh`. The result can be viewed by opening `html_sphinx/index.html`.
32
33If you want to do it manually you can run the following commands from `doc`
34directory:
35
36```shell
37# compile doxygen documentation (required to generate XML metadata)
38doxygen nrfx_examples.doxyfile
39# compile Sphinx documentation
40sphinx-build -b html sphinx html_sphinx
41```
42