summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-05-24 18:50:01 +0200
committerSteve Sakoman <steve@sakoman.com>2023-07-26 05:12:21 -1000
commit366a7ebc227c4627000f4891d668f8e2cde4ed2b (patch)
tree46bc840ab47486caf5329103eeb03ef0656c2ffb /documentation
parent9cfa17a57764a32a2f9276eb908d00fc5199f892 (diff)
downloadpoky-366a7ebc227c4627000f4891d668f8e2cde4ed2b.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: 4b8f2dddf85ca4be6bacad65f3893c9f593f7e18) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation')
-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),