Skip to content

Commit c96137d

Browse files
moonlight83340yashi
authored andcommitted
doc: update CSP hooks RST to include undocumented functions
Updated the documentation file to explicitly list all hook functions from `csp_hooks.h` using `.. autocfunction::` directives. This ensures that previously undocumented functions are properly included in the generated documentation, addressing issues where automatic inclusion via `.. autocmodule::` did not work as expected. Improves visibility and completeness of the CSP hooks API documentation. Signed-off-by: Gaetan Perrot <[email protected]>
1 parent 32be594 commit c96137d

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

doc/api/csp_hooks_h.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,18 @@ CSP Hooks
22
=========
33

44
.. autocmodule:: csp_hooks.h
5-
:members:
5+
6+
Hook Functions
7+
--------------
8+
9+
.. autocfunction:: csp_hooks.h::csp_output_hook
10+
.. autocfunction:: csp_hooks.h::csp_input_hook
11+
.. autocfunction:: csp_hooks.h::csp_reboot_hook
12+
.. autocfunction:: csp_hooks.h::csp_shutdown_hook
13+
.. autocfunction:: csp_hooks.h::csp_memfree_hook
14+
.. autocfunction:: csp_hooks.h::csp_ps_hook
15+
.. autocfunction:: csp_hooks.h::csp_panic
16+
.. autocfunction:: csp_hooks.h::csp_crypto_decrypt
17+
.. autocfunction:: csp_hooks.h::csp_crypto_encrypt
18+
.. autocfunction:: csp_hooks.h::csp_clock_get_time
19+
.. autocfunction:: csp_hooks.h::csp_clock_set_time

0 commit comments

Comments
 (0)