From fea2a67648e8e7b4e1ddc82af026936ba52b9848 Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Mon, 1 Jul 2024 00:50:07 -0500 Subject: [PATCH] Try building like sphinx-c-autodoc does (2) --- docs/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 9d06252a..0b3157f8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,3 +54,7 @@ # https://www.sphinx-doc.org/en/master/usage/extensions/todo.html#configuration todo_include_todos = True + +if 'GITHUB_ACTION' in os.environ: + from clang import cindex + cindex.Config.set_library_file("/usr/lib/x86_64-linux-gnu/libclang-17.so")