summaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2022-11-01 10:08:34 +0100
committernicolargo <nicolas@nicolargo.com>2022-11-01 10:08:34 +0100
commitcf76040b566634ee468796d729d42a6fe3253d74 (patch)
treeeede8fe62d870b815853c4d539820ee7fc555a33 /docs/conf.py
parentfc4f6cb2c87aeca59299a5872c0e557328b3eba6 (diff)
Update the docs
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 26b188d6..9bed95a3 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -12,7 +12,6 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
-from glances import __version__
import sys
import os
from datetime import datetime
@@ -25,6 +24,9 @@ from datetime import datetime
# Insert Glances' path into the system.
sys.path.insert(0, os.path.abspath('..'))
+# WARNING: Do not move this import before the sys.path.insert() call.
+from glances import __version__
+
# -- General configuration ------------------------------------------------