mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
committed by
GitHub
parent
2418e007ce
commit
95b2cce9a0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user