Adam Turner
c4daa95c09
Enable the entire D category in Ruff
2025-01-14 15:55:02 +00:00
Adam Turner
d29c2c1ff3
Implement key splitting in the `:kbd:
role and remove
KeyboardTransform
` ( #13227 )
...
``KeyboardTransform.run`` takes 1.2% of the runtime of a build, but
is not be needed if ``:kbd:`` is converted to a proper role.
We implement key splitting in the ``:kbd:`` role, and return a sequence
of parsed nodes rather than a nested collection of roles with ``class="kbd compound"``.
2025-01-10 19:51:17 +00:00
Adam Turner
83bf866059
Avoid attribute indirection with `env
` ( #13212 )
2025-01-05 09:10:55 +00:00
Adam Turner
e65bbb96ae
Create a new type for the current document's environment state ( #13151 )
2025-01-04 00:28:03 +00:00
Adam Turner
3af48520d2
Require the PEP 563 'annotations' future import
2024-11-22 21:54:26 +00:00
Adam Turner
1094556afb
Bump Ruff to 0.7.2
2024-11-03 02:55:19 +00:00
Hugo van Kemenade
58263e2cb0
Update CVE URL ( #13006 )
2024-10-11 22:28:10 +01:00
Jakub Stasiak
e04d042f8f
Improve the formatting for RFC section anchors ( #11809 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-06 04:29:11 +01:00
Hugo van Kemenade
09ab6edde5
Add CVE and CWE roles ( #11781 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-10-05 18:44:14 +01:00
Adam Turner
f7fa020cc2
Bump types-docutils to 0.21.0.20241005 ( #12976 )
2024-10-05 18:11:47 +01:00
Adam Turner
dd17d4faa5
Bump types-docutils to 0.21.0.20241004 ( #12960 )
2024-10-04 15:41:25 +01:00
khanxmetu
0a162fa8da
i18n: disable default smartquotes for zh_CN
and zh_TW
( #12875 )
2024-09-28 00:18:54 +02:00
Adam Turner
0b17bb1029
Always define the builder and `testroot
when using the
app
` fixtureture ( #12775 )
2024-08-12 22:34:03 +01:00
Adam Turner
d03156e078
Format `tests/
` ( #12760 )
2024-08-11 14:58:56 +01:00
danieleades
f09bc62969
Shrink mypy exclude list ( #12669 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-23 22:19:15 +01:00
Adam Turner
1f2891530d
Use `app.status
and
app.warning
` in tests ( #12663 )
2024-07-23 15:35:55 +01:00
Adam Turner
82edc3d385
Rewrite `usage/configuration.rst
` ( #12537 )
...
- Remove now-removed configuration values
- Use obvious 'unset' defaults for ``project`` and ``author``
- Prefer 'e.g.' to 'ex.'
- Allow non-list sequence types in various configuration values
- Add types and defaults to every confval directive
2024-07-10 21:43:14 +01:00
M Bussonnier
6e3a191185
Bump Ruff to 0.5.1 ( #12530 )
2024-07-10 14:13:10 +01:00
Bénédikt Tran
885818bb7f
[tests] move utilities and static data into dedicated modules and remove `html5lib
` ( #12173 )
...
Since #12168 , HTML files are now XML compliant, hence ``html5lib`` is no more needed as a testing dependencies.
2024-03-25 11:03:44 +01:00
Adam Turner
462404cb25
Organise tests into directories
2024-01-17 03:56:35 +00:00