Merge branch 'fix-macos-kbd-shortcuts' of https://github.com/page-down/kitty

This commit is contained in:
Kovid Goyal
2022-01-17 08:23:34 +05:30
2 changed files with 25 additions and 33 deletions

View File

@@ -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)