aboutsummaryrefslogtreecommitdiff
path: root/doc
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
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')
-rw-r--r--doc/conf.py4
-rw-r--r--doc/index.rst2
2 files changed, 4 insertions, 2 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([
diff --git a/doc/index.rst b/doc/index.rst
index 22216a8..1ac772e 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -43,7 +43,7 @@ Getting the source (downloading releases or trunk)
Snakeoil vcs of choice is `git <http://git.scm.org/>`_, and our source can be checked out at https://github.com/pkgcore/snakeoil
-All releases are available at |release_url|\., with release news available at :ref:`releases`\.
+All releases are available at |release_url|, with release news available at :doc:`news`\.
As for dependencies, snakeoil basically just requires python3.8 and up.