Squashed 'src/c-rbtree/' changes from edec411b3c1c..a4144785ab77

a4144785ab77 docs: include ./src in include path
efd6619234cd docs: use c-apidocs glob

git-subtree-dir: src/c-rbtree
git-subtree-split: a4144785ab77ecc0627898c7c60523b2368c6ecb
This commit is contained in:
Thomas Haller 2022-11-23 18:00:31 +01:00
parent 9358a0e184
commit 25a5bb49a6

View file

@ -30,15 +30,9 @@ extensions = [
# Hawkmoth Options
import pathlib
def _hawkmoth_glob_includes(path, glob):
entries = []
for entry in pathlib.Path(path).glob(glob):
entries += ["-I" + os.path.abspath(str(entry))]
return entries
cautodoc_clang = capidocs.kerneldoc.hawkmoth_include_args()
cautodoc_clang += _hawkmoth_glob_includes("../../subprojects", "libc*/src")
cautodoc_clang += ["-I" + os.path.abspath("..")]
cautodoc_clang += capidocs.kerneldoc.hawkmoth_glob_includes("../../subprojects", "libc*/src")
cautodoc_root = os.path.abspath('..')