Add a `versionremoved` directive (#11905)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
Hugo van Kemenade
2024-01-21 22:12:52 +02:00
committed by GitHub
parent 2418e007ce
commit 95b2cce9a0
11 changed files with 43 additions and 8 deletions

View File

@@ -120,6 +120,7 @@ def tail_check(check):
tail_check('First paragraph of versionchanged')),
('markup.html', ".//div[@class='versionchanged']/p",
'Second paragraph of versionchanged'),
('markup.html', ".//div[@class='versionremoved']/p/span", 'Removed in version 0.6: '),
# footnote reference
('markup.html', ".//a[@class='footnote-reference brackets']", r'1'),
# created by reference lookup