diff options
author | Quentin Schulz <quentin.schulz@cherry.de> | 2025-06-18 17:13:36 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-20 09:48:15 +0100 |
commit | e60c9d753cd7cda3df1492cee949a88c7713fb9b (patch) | |
tree | c61f2ec87b82bf686c0f1d2dd5174e230a907474 /documentation/standards.md | |
parent | bebe66feaee45e1e280a63e089bd894bc9227ee5 (diff) | |
download | poky-e60c9d753cd7cda3df1492cee949a88c7713fb9b.tar.gz |
document how to use :doc: directive
Let's specify that we are only expecting "absolute" paths in the docs
directive for local document referencing.
(From yocto-docs rev: 2729250bf1068814e5106d1e71796e8a505963d7)
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/standards.md')
-rw-r--r-- | documentation/standards.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/documentation/standards.md b/documentation/standards.md index 8300d813dc..801efe3457 100644 --- a/documentation/standards.md +++ b/documentation/standards.md | |||
@@ -126,7 +126,16 @@ that most themes only style these two admonitions. | |||
126 | 126 | ||
127 | ## ReStructured Text Syntax standards | 127 | ## ReStructured Text Syntax standards |
128 | 128 | ||
129 | This section has not been filled yet | 129 | ### doc directive |
130 | |||
131 | The [doc directive](https://www.sphinx-doc.org/en/master/usage/referencing.html#role-doc) | ||
132 | allows to refer to another document within yocto-docs, like: | ||
133 | |||
134 | For more information, read :doc:`/bsp-guide/index`. | ||
135 | |||
136 | Note that only "absolute" paths (starting with a '/') are allowed. The root | ||
137 | directory of that path is documentation/, that is, :doc:`/bsp-guide/index` | ||
138 | points at documentation/bsp-guide/index.rst. | ||
130 | 139 | ||
131 | ## Adding screenshots | 140 | ## Adding screenshots |
132 | 141 | ||