conf.py: add macro for Mitre CVE links

Useful for CVEs that are not found (yet) on https://nvd.nist.gov/

(From yocto-docs rev: bd9add8a0e62465429cf62c314aaa766b7f6f544)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Opdenacker
2023-05-24 18:50:01 +02:00
committed by Richard Purdie
parent 076eda5d6e
commit a618060cce

View File

@@ -91,6 +91,7 @@ rst_prolog = """
# external links and substitutions
extlinks = {
'cve': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'),
'cve_mitre': ('https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-%s', 'CVE-%s'),
'yocto_home': ('https://www.yoctoproject.org%s', None),
'yocto_wiki': ('https://wiki.yoctoproject.org/wiki%s', None),
'yocto_dl': ('https://downloads.yoctoproject.org%s', None),