diff --git a/.readthedocs.yaml b/.readthedocs.yaml index bbd2096fe..f51372140 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,12 +5,12 @@ sphinx: builder: html build: - os: "ubuntu-24.04" + os: "ubuntu-22.04" tools: python: "3.11" apt_packages: - - clang-18 + - clang-13 - cmake - - libclang-18-dev - - llvm-18-dev - - llvm-18-tools \ No newline at end of file + - libclang-13-dev + - llvm-13-dev + - llvm-13-tools \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 215c714f5..78ced181f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,8 +50,8 @@ html_extra_path = [CPPINTEROP_ROOT + '/build/docs/'] import subprocess -command = 'mkdir {0}/build; cd {0}/build; cmake ../ -DClang_DIR=/usr/lib/llvm-18/lib/cmake/clang \ - -DLLVM_DIR=/usr/lib/llvm-18/lib/cmake/llvm -DCPPINTEROP_ENABLE_DOXYGEN=ON \ +command = 'mkdir {0}/build; cd {0}/build; cmake ../ -DClang_DIR=/usr/lib/llvm-13/build/lib/cmake/clang\ + -DLLVM_DIR=/usr/lib/llvm-13/build/lib/cmake/llvm -DCPPINTEROP_ENABLE_DOXYGEN=ON\ -DCPPINTEROP_INCLUDE_DOCS=ON'.format(CPPINTEROP_ROOT) subprocess.call(command, shell=True) subprocess.call('doxygen {0}/build/docs/doxygen.cfg'.format(CPPINTEROP_ROOT), shell=True) \ No newline at end of file