Skip to content

Commit cd938a7

Browse files
hugovkradarhere
authored andcommitted
Autolink CWE numbers with sphinx-issues
1 parent 2e9c461 commit cd938a7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
- name: Docs
9494
if: startsWith(matrix.os, 'ubuntu') && matrix.python-version == 3.9
9595
run: |
96-
python3 -m pip install sphinx-copybutton sphinx-issues sphinx-removed-in sphinx-rtd-theme sphinxext-opengraph
96+
python3 -m pip install sphinx-copybutton sphinx-issues>=3.0.1 sphinx-removed-in sphinx-rtd-theme sphinxext-opengraph
9797
make doccheck
9898
9999
- name: After success

docs/releasenotes/9.0.0.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ help prevent problems arising if users evaluate arbitrary expressions, such as
127127
Fixed ImagePath.Path array handling
128128
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
129129

130-
:cve:`CVE-2022-22815` (CWE-126) and :cve:`CVE-2022-22816` (CWE-665) were found when
131-
initializing ``ImagePath.Path``.
130+
:cve:`CVE-2022-22815` (:cwe:`CWE-126`) and :cve:`CVE-2022-22816` (:cwe:`CWE-665`) were
131+
found when initializing ``ImagePath.Path``.
132132

133133
.. _OSS-Fuzz: https://github.com/google/oss-fuzz
134134

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pytest-cov
1212
pytest-timeout
1313
sphinx>=2.4
1414
sphinx-copybutton
15-
sphinx-issues
15+
sphinx-issues>=3.0.1
1616
sphinx-removed-in
1717
sphinx-rtd-theme>=1.0
1818
sphinxext-opengraph

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy