From 4b8fbbc284bfa625c99034099a860d41dd3984d2 Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Thu, 5 Dec 2024 07:37:50 +0000 Subject: [PATCH] Try to fix developer documentation deployment (#372) --- .readthedocs.yaml | 10 +++++----- docs/DevelopersDocumentation.rst | 2 +- docs/conf.py | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f51372140..bbd2096fe 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,12 +5,12 @@ sphinx: builder: html build: - os: "ubuntu-22.04" + os: "ubuntu-24.04" tools: python: "3.11" apt_packages: - - clang-13 + - clang-18 - cmake - - libclang-13-dev - - llvm-13-dev - - llvm-13-tools \ No newline at end of file + - libclang-18-dev + - llvm-18-dev + - llvm-18-tools \ No newline at end of file diff --git a/docs/DevelopersDocumentation.rst b/docs/DevelopersDocumentation.rst index 05bec0800..718aa505b 100644 --- a/docs/DevelopersDocumentation.rst +++ b/docs/DevelopersDocumentation.rst @@ -429,4 +429,4 @@ CppInterOp maintains an internal Doxygen documentation of its components. Internal documentation aims to capture intrinsic details and overall usage of code components. The goal of internal documentation is to make the codebase easier to understand for the new developers. Internal documentation can be -visited : `here `_ +visited : `here `_ diff --git a/docs/conf.py b/docs/conf.py index 78ced181f..215c714f5 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-13/build/lib/cmake/clang\ - -DLLVM_DIR=/usr/lib/llvm-13/build/lib/cmake/llvm -DCPPINTEROP_ENABLE_DOXYGEN=ON\ +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 \ -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