Skip to content

Commit 3499312

Browse files
committed
doc: kernel: use zephyr_file role
Link to files in git tree on Github. Signed-off-by: Anas Nashif <[email protected]>
1 parent 2dc4e27 commit 3499312

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/kernel/other/ring_buffers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ operations on the ring buffer's memory. For example:
306306
API Reference
307307
*************
308308

309-
The following ring buffer APIs are provided by :file:`include/ring_buffer.h`:
309+
The following ring buffer APIs are provided by :zephyr_file:`include/ring_buffer.h`:
310310

311311
.. doxygengroup:: ring_buffer_apis
312312
:project: Zephyr

doc/kernel/usermode/memory_domain.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Related configuration options:
179179
APIs
180180
****
181181

182-
The following memory domain APIs are provided by :file:`kernel.h`:
182+
The following memory domain APIs are provided by :zephyr_file:`include/kernel.h`:
183183

184184
* :c:macro:`K_MEM_PARTITION_DEFINE`
185185
* :cpp:func:`k_mem_domain_init()`

doc/kernel/usermode/syscalls.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ APIs
477477
****
478478

479479
Helper macros for creating system call handlers are provided in
480-
:file:`kernel/include/syscall_handler.h`:
480+
:zephyr_file:`kernel/include/syscall_handler.h`:
481481

482482
* :c:macro:`Z_SYSCALL_HANDLER()`
483483
* :c:macro:`Z_SYSCALL_HANDLER1_SIMPLE()`
@@ -496,7 +496,7 @@ Helper macros for creating system call handlers are provided in
496496
* :c:macro:`Z_SYSCALL_VERIFY`
497497

498498
Functions for invoking system calls are defined in
499-
:file:`include/syscall.h`:
499+
:zephyr_file:`include/syscall.h`:
500500

501501
* :c:func:`_arch_syscall_invoke0`
502502
* :c:func:`_arch_syscall_invoke1`

0 commit comments

Comments
 (0)