From f09fc4426ba146f3b65f7a5daf235ca1c15a759a Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Mon, 4 Nov 2024 13:31:23 +0100 Subject: 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 Reviewed-by: Quentin Schulz (From yocto-docs rev: 1e5e574a6cdb6b086da2c5a981446b522e80cf2d) Signed-off-by: Antonin Godard (cherry picked from commit 15fa3b7e85dde50d7236c1738ad607531cc654b8) Signed-off-by: Antonin Godard Signed-off-by: Steve Sakoman --- documentation/contributor-guide/recipe-style-guide.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/contributor-guide') 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. CVE Examples ------------ -This should be the header of patch that fixes :cve:`2015-8370` in GRUB2:: +This should be the header of patch that fixes :cve_nist:`2015-8370` in GRUB2:: grub2: Fix CVE-2015-8370 -- cgit v1.2.3-54-g00ecf