summaryrefslogtreecommitdiffstats
path: root/documentation/conf.py
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-05-24 18:50:01 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-26 17:32:51 +0100
commita618060cce4846bd5fda50a5ac81f5dee1336601 (patch)
treec061c7af2060f0ad3f4de9b160fdd4730e088065 /documentation/conf.py
parent076eda5d6eb3c1e1449c71dc871b447643162db7 (diff)
downloadpoky-a618060cce4846bd5fda50a5ac81f5dee1336601.tar.gz
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>
Diffstat (limited to 'documentation/conf.py')
-rw-r--r--documentation/conf.py1
1 files changed, 1 insertions, 0 deletions
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 = """
91# external links and substitutions 91# external links and substitutions
92extlinks = { 92extlinks = {
93 'cve': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'), 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'),
94 'yocto_home': ('https://www.yoctoproject.org%s', None), 95 'yocto_home': ('https://www.yoctoproject.org%s', None),
95 'yocto_wiki': ('https://wiki.yoctoproject.org/wiki%s', None), 96 'yocto_wiki': ('https://wiki.yoctoproject.org/wiki%s', None),
96 'yocto_dl': ('https://downloads.yoctoproject.org%s', None), 97 'yocto_dl': ('https://downloads.yoctoproject.org%s', None),