mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Close #9961: html: Support nested <kbd> HTML elements in other HTML builders
This commit is contained in:
parent
8d0fd9e74a
commit
a87d0359c0
1
CHANGES
1
CHANGES
@ -22,6 +22,7 @@ Features added
|
||||
this behavior with the ``--respect-module-all`` switch.
|
||||
* #9800: extlinks: Emit warning if a hardcoded link is replaceable
|
||||
by an extlink, suggesting a replacement.
|
||||
* #9961: html: Support nested <kbd> HTML elements in other HTML builders
|
||||
* #9815: html theme: Wrap sidebar components in div to allow customizing their
|
||||
layout via CSS
|
||||
* #9899: py domain: Allows to specify cross-reference specifier (``.`` and
|
||||
|
@ -36,7 +36,7 @@ class KeyboardTransform(SphinxPostTransform):
|
||||
x
|
||||
"""
|
||||
default_priority = 400
|
||||
builders = ('html',)
|
||||
formats = ('html',)
|
||||
pattern = re.compile(r'(?<=.)(-|\+|\^|\s+)(?=.)')
|
||||
multiwords_keys = (('caps', 'lock'),
|
||||
('page' 'down'),
|
||||
|
Loading…
Reference in New Issue
Block a user