Skip to content

Commit 4a29d0f

Browse files
committed
use latext plantuml
1 parent 568e164 commit 4a29d0f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.readthedocs.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ build:
33
os: ubuntu-22.04
44
tools:
55
python: "3.13"
6-
7-
# Java is required for PlantUML to generate C4 diagrams
8-
apt_packages:
9-
- plantuml
10-
- openjdk-17-jdk
11-
- graphviz
6+
jobs:
7+
post_install:
8+
# Download the latest PlantUML jar
9+
- wget https://github.com/plantuml/plantuml/releases/latest/download/plantuml.jar -P /tmp/
10+
# Create an executable wrapper script for Sphinx
11+
- echo '#!/bin/sh' > /usr/local/bin/plantuml
12+
- echo 'java -jar /tmp/plantuml.jar "$@"' >> /usr/local/bin/plantuml
13+
- chmod +x /usr/local/bin/plantuml
1214

1315
sphinx:
1416
configuration: doc/conf.py

0 commit comments

Comments
 (0)