aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-08-27 15:10:50 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-08-27 15:56:07 +0300
commit704a2cac1eb8d00c074bac051f0d7dc9fa8f14c5 (patch)
tree0daa758ed249ba3c3dab60e0e43832c738b9777e /doc/conf.py
parenttest: remove TestCase (diff)
downloadsnakeoil-704a2cac1eb8d00c074bac051f0d7dc9fa8f14c5.tar.gz
snakeoil-704a2cac1eb8d00c074bac051f0d7dc9fa8f14c5.tar.bz2
snakeoil-704a2cac1eb8d00c074bac051f0d7dc9fa8f14c5.zip
docs: cleanup and fix warnings
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/conf.py b/doc/conf.py
index dacd9ef..d2cbc09 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -11,12 +11,14 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
+import os
import subprocess
+import sys
# If extensions (or modules to document with autodoc) are in another directory,
# 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.
-#sys.path.insert(0, os.path.abspath('../src/'))
+sys.path.insert(0, os.path.abspath('../src/'))
# generate API docs
subprocess.call([