From 366a7ebc227c4627000f4891d668f8e2cde4ed2b Mon Sep 17 00:00:00 2001 From: Michael Opdenacker Date: Wed, 24 May 2023 18:50:01 +0200 Subject: [PATCH] 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 Signed-off-by: Steve Sakoman --- documentation/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/documentation/conf.py b/documentation/conf.py index bd45a73fa6..a64685ec9b 100644 --- a/documentation/conf.py +++ b/documentation/conf.py @@ -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),