]> xenbits.xensource.com Git - xen.git/commitdiff
docs/sphinx: import sys for error reporting
authorYann Dirson <yann.dirson@vates.tech>
Wed, 15 Jan 2025 12:27:56 +0000 (12:27 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 16 Jan 2025 11:22:11 +0000 (11:22 +0000)
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
docs/conf.py

index 5d2e97944900a79a0d4fc49be6b628d6594d1e6e..2fb8bafe658956b69a19828a5b10d78356af5ee8 100644 (file)
@@ -6,6 +6,8 @@
 # For the full list of built-in configuration values, see the documentation:
 # https://www.sphinx-doc.org/en/master/usage/configuration.html
 
+import sys
+
 # -- Path setup --------------------------------------------------------------
 
 # If extensions (or modules to document with autodoc) are in another directory,
@@ -13,7 +15,6 @@
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 #
 # import os
-# import sys
 # sys.path.insert(0, os.path.abspath('.'))