mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add test for multi-word key names (`kbd
` role) (#10765)
This commit is contained in:
parent
bf06d7ef4d
commit
28d184c0d6
@ -299,6 +299,14 @@ def get_verifier(verify, verify_re):
|
||||
('\\sphinxAtStartPar\n'
|
||||
'\\sphinxkeyboard{\\sphinxupquote{Caps Lock}}'),
|
||||
),
|
||||
(
|
||||
# kbd role
|
||||
'verify',
|
||||
':kbd:`sys rq`',
|
||||
'<p><kbd class="kbd docutils literal notranslate">sys rq</kbd></p>',
|
||||
('\\sphinxAtStartPar\n'
|
||||
'\\sphinxkeyboard{\\sphinxupquote{sys rq}}'),
|
||||
),
|
||||
(
|
||||
# non-interpolation of dashes in option role
|
||||
'verify_re',
|
||||
|
Loading…
Reference in New Issue
Block a user