mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-12 00:07:12 +03:00
- drop no longer used import statement - fix module file path Closes: https://bugs.gentoo.org/920767 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
22 lines
798 B
Diff
22 lines
798 B
Diff
diff --git a/docs/conf.py b/docs/conf.py
|
|
index 071ebb1..2ccec1f 100644
|
|
--- a/docs/conf.py
|
|
+++ b/docs/conf.py
|
|
@@ -23,7 +23,6 @@ import importlib.metadata
|
|
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
|
sys.path.insert(0, os.path.abspath('.') + "/../src")
|
|
|
|
-from release_utils import utils # nopep8
|
|
|
|
# -- General configuration ------------------------------------------------
|
|
|
|
@@ -284,7 +283,7 @@ def run_apidoc(_):
|
|
os.path.join(sys.prefix, 'bin', 'sphinx-apidoc'))
|
|
subprocess.check_call(
|
|
[cmd_path, '-o', output_path,
|
|
- os.path.abspath(cur_dir + "/../" + module),
|
|
+ os.path.abspath(cur_dir + "/../src/" + module),
|
|
'--separate', '--force', '--module-first', '--doc-project=API'])
|
|
|
|
|