From 507e5708874981cafa65afab6eebaaaa704eaf58 Mon Sep 17 00:00:00 2001 From: pagedown Date: Mon, 17 Jan 2022 02:49:25 +0800 Subject: [PATCH] No longer need the patch for Sphinx KeyboardTransform The issue with KeyboardTransform with dirhtml has been fixed in Sphinx 4.4.0. --- docs/conf.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 4d83ab3fd..3b3ff4507 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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)