Conversation
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
|
No objection in principle, though this feels like a feature is missing to make this easier -- these roles are just extlinks, in bold, with customised classes ('cve'/'cwe') and index entries. A |
|
We could refactor this by adding a class reponsible for this kind of things maybe? |
# Conflicts: # sphinx/roles.py # tests/test_markup/test_markup.py
|
cc @picnixz was anything outstanding on this? |
|
Ok, so something happened in between. I'll need to check the markup though I don't think I've changed anything on that part. So it appears that only the CWE role fails. Hum. |
My fault, A |
|
Oh. Yes the URL :') (dealing with CVE/CWE is the worst, there is only one letter differencing the two variables...) |
Sphinx 8.1 added :cve: role, so there is no need to define it in Django: - sphinx-doc/sphinx#11781 This also changes used URL to the one used by Python and soonish to be used by Sphinx itself: - sphinx-doc/sphinx#13006
Sphinx 8.1 added :cve: role, so there is no need to define it in Django: - sphinx-doc/sphinx#11781 This also changes used URL to the one used by Python and soonish to be used by Sphinx itself: - sphinx-doc/sphinx#13006
Sphinx 8.1 added :cve: role, so there is no need to define it in Django: - sphinx-doc/sphinx#11781 This also changes used URL to the one used by Python and soonish to be used by Sphinx itself: - sphinx-doc/sphinx#13006 Backport of 263f731 from main.
Subject:
Feature or Bugfix
Purpose
cverole to turn:cve:`2020-10735`into https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735cwerole to turn:cwe:`787`into https://cwe.mitre.org/data/definitions/787.htmlDetail
cveandcweroles, similar to existingpepandrfcroles, to link to the Common Vulnerabilities and Exposures and Common Weakness Enumeration websites.Relates