@@ -111,8 +111,9 @@ glossary before or in the same patch it is used, so that `:term:` can be used.
### Admonitions
-Sphinx has predefined admonitions that can be used to highlight a bit of text or
-add a side-note to the documentation. For example:
+Sphinx has predefined [admonitions](https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#directives)
+that can be used to highlight a bit of text or add a side-note to the
+documentation. For example:
```rst
.. note::
@@ -120,10 +121,6 @@ add a side-note to the documentation. For example:
This is a note admonition.
```
-We try to limit our usage of these admonitions to `note` and `warning`, as the
-Sphinx documentation [warns](https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#directives)
-that most themes only style these two admonitions.
-
## ReStructured Text Syntax standards
### doc directive
The previous commit sets the coloring for all Sphinx admonitions so that they are consistent. This means we no longer need to limit the ones we can use. Remove this limitations from the standards. Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- documentation/standards.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)