No longer need the patch for Sphinx KeyboardTransform
The issue with KeyboardTransform with dirhtml has been fixed in Sphinx 4.4.0.
This commit is contained in:
parent
5182f79152
commit
507e570887
@ -22,11 +22,8 @@ from pygments.token import ( # type: ignore
|
||||
Comment, Keyword, Literal, Name, Number, String, Whitespace
|
||||
)
|
||||
from sphinx import addnodes, version_info
|
||||
from sphinx.builders.html.transforms import KeyboardTransform
|
||||
from sphinx.util.logging import getLogger
|
||||
|
||||
KeyboardTransform.builders = ('html', 'dirhtml') # type: ignore
|
||||
|
||||
kitty_src = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
if kitty_src not in sys.path:
|
||||
sys.path.insert(0, kitty_src)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user