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: 4b8f2dddf85ca4be6bacad65f3893c9f593f7e18)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Michael Opdenacker
2023-05-24 18:50:01 +02:00
committed by Steve Sakoman
parent 9cfa17a577
commit 366a7ebc22

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),