diff mbox series

[XEN,v2,1/3] docs/sphinx: import sys for error reporting

Message ID 8f3a1914d135657e5d98ac5fad6c7b0e13974bf6.1736943927.git.yann.dirson@vates.tech (mailing list archive)
State New
Headers show
Series trivial improvements to sphinx doc tooling | expand

Commit Message

Yann Dirson Jan. 15, 2025, 12:27 p.m. UTC
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
---
 docs/conf.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/docs/conf.py b/docs/conf.py
index 5d2e979449..2fb8bafe65 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -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('.'))