summaryrefslogtreecommitdiff
path: root/dev-python/pygccxml/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-25 19:01:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-25 19:01:08 +0000
commitfc68863e718441fe15bb0dea2ca03ea06a6f558d (patch)
tree5cfeda3e589273a4fa9d6c84119acf0db4c2453c /dev-python/pygccxml/files
parentecf595717796995cab38a07093dc9597d55d0ea6 (diff)
gentoo auto-resync : 25:03:2024 - 19:01:08
Diffstat (limited to 'dev-python/pygccxml/files')
-rw-r--r--dev-python/pygccxml/files/pygccxml-2.4.0-doc.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/pygccxml/files/pygccxml-2.4.0-doc.patch b/dev-python/pygccxml/files/pygccxml-2.4.0-doc.patch
new file mode 100644
index 000000000000..ecec89c14ed9
--- /dev/null
+++ b/dev-python/pygccxml/files/pygccxml-2.4.0-doc.patch
@@ -0,0 +1,21 @@
+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'])
+
+