diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-11-04 13:31:23 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-11-11 06:19:19 -0800 |
commit | 90642f4326b590543a672edcc849653bd88d5a6c (patch) | |
tree | 2cbadf6e911aea4c677549149d5a3fcd30754d2d /documentation/conf.py | |
parent | f4eb87b28a1fbdb2e3d37ca255220771eb223061 (diff) | |
download | poky-90642f4326b590543a672edcc849653bd88d5a6c.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' {} \+
Cherry pick:
* Changes on following files removed from cherry pick (not part of kirkstone):
documentation/migration-guides/release-notes-4.1.1.rst
documentation/migration-guides/release-notes-4.1.2.rst
documentation/migration-guides/release-notes-4.1.3.rst
documentation/migration-guides/release-notes-4.1.4.rst
documentation/migration-guides/release-notes-4.1.rst
documentation/migration-guides/release-notes-4.2.1.rst
documentation/migration-guides/release-notes-4.2.2.rst
documentation/migration-guides/release-notes-4.2.3.rst
documentation/migration-guides/release-notes-4.2.4.rst
documentation/migration-guides/release-notes-4.2.rst
documentation/migration-guides/release-notes-4.3.1.rst
documentation/migration-guides/release-notes-4.3.2.rst
documentation/migration-guides/release-notes-4.3.3.rst
documentation/migration-guides/release-notes-4.3.4.rst
documentation/migration-guides/release-notes-4.3.rst
documentation/migration-guides/release-notes-5.0.2.rst
documentation/migration-guides/release-notes-5.0.3.rst
documentation/migration-guides/release-notes-5.0.rst
documentation/migration-guides/release-notes-5.1.rst
* Fix minor conflicts in following files:
documentation/migration-guides/release-notes-3.4.2.rst: missing :term:
before CVE_PRODUCT
documentation/migration-guides/release-notes-4.0.2.rst: missing :term:
before PACKAGECONFIG
documentation/migration-guides/release-notes-4.0.7.rst: missing cve
2022-32912 on webkitgtk
Suggested-By: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: f432e78fef82c5e5bfdfff08bb18757dc3479465)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 15fa3b7e85dde50d7236c1738ad607531cc654b8)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/conf.py')
-rw-r--r-- | documentation/conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/conf.py b/documentation/conf.py index 83cf829e6a..d17860f658 100644 --- a/documentation/conf.py +++ b/documentation/conf.py | |||
@@ -90,8 +90,8 @@ rst_prolog = """ | |||
90 | 90 | ||
91 | # external links and substitutions | 91 | # external links and substitutions |
92 | extlinks = { | 92 | extlinks = { |
93 | 'cve': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'), | ||
94 | 'cve_mitre': ('https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-%s', 'CVE-%s'), | 93 | 'cve_mitre': ('https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-%s', 'CVE-%s'), |
94 | 'cve_nist': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'), | ||
95 | 'yocto_home': ('https://www.yoctoproject.org%s', None), | 95 | 'yocto_home': ('https://www.yoctoproject.org%s', None), |
96 | 'yocto_wiki': ('https://wiki.yoctoproject.org/wiki%s', None), | 96 | 'yocto_wiki': ('https://wiki.yoctoproject.org/wiki%s', None), |
97 | 'yocto_dl': ('https://downloads.yoctoproject.org%s', None), | 97 | 'yocto_dl': ('https://downloads.yoctoproject.org%s', None), |