summaryrefslogtreecommitdiffstats
path: root/documentation/conf.py
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-05-24 18:50:01 +0200
committerSteve Sakoman <steve@sakoman.com>2023-05-30 04:11:16 -1000
commit7350eae0c4d07113c202c72cfbea9056c0ae7410 (patch)
tree8649e1355c7a9475f9b061f7d44f45dec4a6163e /documentation/conf.py
parent075e7e6d8cc390cc739f6af5f3d037ca4d34897c (diff)
downloadpoky-7350eae0c4d07113c202c72cfbea9056c0ae7410.tar.gz
conf.py: add macro for Mitre CVE links
New cve_mitre macro for CVEs that are not found (yet) on https://nvd.nist.gov/ (From yocto-docs rev: ff675ce150187561d6d1e8b8ff0eeb10b2696ec6) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
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 097115276f..5ff5ec8655 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),