From: Yann Dirson Date: Wed, 15 Jan 2025 12:27:56 +0000 (+0000) Subject: docs/sphinx: import sys for error reporting X-Git-Tag: 4.20.0-rc2~12 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f79af67982ef26e0395d81baff39d10705dedcda;p=xen.git docs/sphinx: import sys for error reporting Signed-off-by: Yann Dirson Acked-by: Andrew Cooper --- 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('.'))