diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-11-04 13:31:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-07 10:12:23 +0000 |
commit | 7748c7aa32cecdf23330ddaf184da20639e4d2e3 (patch) | |
tree | b68c46485653034b991a049e279d31d1906c19a6 /documentation/contributor-guide | |
parent | 7545dc3af8f7d3aa40a965509cd990ef64f17e51 (diff) | |
download | poky-7748c7aa32cecdf23330ddaf184da20639e4d2e3.tar.gz |
conf.py: rename :cve: role to :cve_nist:
Newer versions of Sphinx already define a :cve: role that points to
cve.org, instead of the role we defined in conf.py that points to
nvd.nist.gov.
Rename our role to :cve_nist: to avoid warnings (treated as errors).
This is also backwards compatible, meaning we can build the doc with an
older Sphinx if needed.
The file were automatically replaced with following command:
find . -name '*.rst' -exec sed -i 's/:cve:/:cve_nist:/g' {} \+
Suggested-By: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 15fa3b7e85dde50d7236c1738ad607531cc654b8)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/contributor-guide')
-rw-r--r-- | documentation/contributor-guide/recipe-style-guide.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/contributor-guide/recipe-style-guide.rst b/documentation/contributor-guide/recipe-style-guide.rst index 142c02db1f..6a3eec3a0e 100644 --- a/documentation/contributor-guide/recipe-style-guide.rst +++ b/documentation/contributor-guide/recipe-style-guide.rst | |||
@@ -395,7 +395,7 @@ one CVE is fixed, separate them using spaces. | |||
395 | CVE Examples | 395 | CVE Examples |
396 | ------------ | 396 | ------------ |
397 | 397 | ||
398 | This should be the header of patch that fixes :cve:`2015-8370` in GRUB2:: | 398 | This should be the header of patch that fixes :cve_nist:`2015-8370` in GRUB2:: |
399 | 399 | ||
400 | grub2: Fix CVE-2015-8370 | 400 | grub2: Fix CVE-2015-8370 |
401 | 401 | ||