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 sean-madigan committed Nov 20, 2024
1 parent e7bbd36 commit 6388ad5
Show file tree
Hide file tree
Showing 6 changed files with 685 additions and 21 deletions.
Loading

0 comments on commit 6388ad5

Please sign in to comment.