Skip to content

Commit

Permalink
[nrf fromtree] doc: extensions: samples: Introduce code sample catego…
Browse files Browse the repository at this point in the history
…ries

This commit adds support for categorizing code samples in the
documentation.

It introduces two new directives:

- `zephyr:code-sample-category::` to create a category and associated
  brief description, that implicitly acts as a toctree too.

- `zephyr:code-sample-listing::` to allow dumping a list of samples
  corresponding to a category anywhere in the documentation.

Fixes #62453.

Signed-off-by: Benjamin Cabé <[email protected]>
(cherry picked from commit 793c70d)

Signed-off-by: Sean Madigan <[email protected]>
  • Loading branch information
kartben authored and jukkar committed Dec 4, 2024
1 parent a266e73 commit 6295905
Show file tree
Hide file tree
Showing 6 changed files with 685 additions and 21 deletions.
Loading

0 comments on commit 6295905

Please sign in to comment.