We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b56f1c commit d584628Copy full SHA for d584628
docs/conf.py
@@ -6,6 +6,7 @@
6
# full list see the documentation:
7
# https://www.sphinx-doc.org/en/master/config
8
9
+import importlib
10
import os
11
import re
12
import subprocess
@@ -25,8 +26,7 @@
25
26
kitty_src = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
27
if kitty_src not in sys.path:
28
sys.path.insert(0, kitty_src)
-if True:
29
- from kitty.constants import str_version
+str_version = importlib.import_module('kitty.constants').str_version
30
31
# config {{{
32
# -- Project information -----------------------------------------------------
0 commit comments