Skip to content

Commit 4b8fbbc

Browse files
authored
Try to fix developer documentation deployment (#372)
1 parent fd0c72c commit 4b8fbbc

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.readthedocs.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ sphinx:
55
builder: html
66

77
build:
8-
os: "ubuntu-22.04"
8+
os: "ubuntu-24.04"
99
tools:
1010
python: "3.11"
1111
apt_packages:
12-
- clang-13
12+
- clang-18
1313
- cmake
14-
- libclang-13-dev
15-
- llvm-13-dev
16-
- llvm-13-tools
14+
- libclang-18-dev
15+
- llvm-18-dev
16+
- llvm-18-tools

docs/DevelopersDocumentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,4 +429,4 @@ CppInterOp maintains an internal Doxygen documentation of its components.
429429
Internal documentation aims to capture intrinsic details and overall usage of
430430
code components. The goal of internal documentation is to make the codebase
431431
easier to understand for the new developers. Internal documentation can be
432-
visited : `here </en/latest/build/html/index.html>`_
432+
visited : `here <build/html/index.html>`_

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
html_extra_path = [CPPINTEROP_ROOT + '/build/docs/']
5151

5252
import subprocess
53-
command = 'mkdir {0}/build; cd {0}/build; cmake ../ -DClang_DIR=/usr/lib/llvm-13/build/lib/cmake/clang\
54-
-DLLVM_DIR=/usr/lib/llvm-13/build/lib/cmake/llvm -DCPPINTEROP_ENABLE_DOXYGEN=ON\
53+
command = 'mkdir {0}/build; cd {0}/build; cmake ../ -DClang_DIR=/usr/lib/llvm-18/lib/cmake/clang \
54+
-DLLVM_DIR=/usr/lib/llvm-18/lib/cmake/llvm -DCPPINTEROP_ENABLE_DOXYGEN=ON \
5555
-DCPPINTEROP_INCLUDE_DOCS=ON'.format(CPPINTEROP_ROOT)
5656
subprocess.call(command, shell=True)
5757
subprocess.call('doxygen {0}/build/docs/doxygen.cfg'.format(CPPINTEROP_ROOT), shell=True)

0 commit comments

Comments
 (0)