This commit is contained in:
Kovid Goyal 2020-03-14 15:27:38 +05:30
parent c912eef040
commit dfb543bd94
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -28,13 +28,13 @@ from sphinx import addnodes # type: ignore
from sphinx.environment.adapters.toctree import TocTree # type: ignore from sphinx.environment.adapters.toctree import TocTree # type: ignore
from sphinx.util.logging import getLogger # type: ignore from sphinx.util.logging import getLogger # type: ignore
from kitty.conf.definition import Option, Shortcut # noqa
from kitty.constants import str_version # noqa
kitty_src = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) kitty_src = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if kitty_src not in sys.path: if kitty_src not in sys.path:
sys.path.insert(0, kitty_src) sys.path.insert(0, kitty_src)
from kitty.conf.definition import Option, Shortcut # noqa
from kitty.constants import str_version # noqa
# config {{{ # config {{{
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------