mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 07:40:12 +01:00
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:
parent
9358a0e184
commit
25a5bb49a6
1 changed files with 2 additions and 8 deletions
|
|
@ -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('..')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue