Skip to content

Commit

Permalink
doc: extensions: samples: Introduce code sample categories
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
kartben committed Sep 17, 2024
1 parent 3e78318 commit f6f4feb
Show file tree
Hide file tree
Showing 7 changed files with 687 additions and 22 deletions.
Loading

0 comments on commit f6f4feb

Please sign in to comment.