From 8758c55cc4148c026032996c390af1821a1d9b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Thu, 12 Oct 2023 09:54:00 +0000 Subject: [PATCH] allow build documenatation without have rope module installed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch allows build docuemnation without have `rope` module installed by execute `sphinx-build -n -T -b docs`. This patch does exactly what is described in comment above. Signed-off-by: Tomasz Kłoczko --- docs/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 266bc6cf8..d50a9cbcf 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -10,9 +10,9 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # -# import os -# import sys -# sys.path.insert(0, os.path.abspath('.')) +import os +import sys +sys.path.insert(0, os.path.abspath("..")) # -- Project information -----------------------------------------------------