• R/O
  • SSH

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版07612377f02795d6b2b3ea160355fe7136d49115 (tree)
时间2024-04-29 19:47:06
作者Albert Mietus < albert AT mietus DOT nl >
CommiterAlbert Mietus < albert AT mietus DOT nl >

Log Message

RTD: last try worked, Now: cleanu ( and test)

更改概述

差异

diff -r 515a83c1a357 -r 07612377f027 .readthedocs.yaml
--- a/.readthedocs.yaml Mon Apr 29 12:29:50 2024 +0200
+++ b/.readthedocs.yaml Mon Apr 29 12:47:06 2024 +0200
@@ -11,11 +11,14 @@
1111 # python: "3.11"
1212 python: "3.9"
1313 apt_packages:
14- # python3-sphinxcontrib.plantuml install an old one version.
15- # Better to replace it by pip, so the requerments-file, which is already done
14+ # python3-sphinxcontrib.plantuml installs an old version of plantuml ...
15+ # But is needed, to install dependencies ..
16+ # Below, an other plantUML jar is installed
17+ # (Both are needed ... it also in the requerments-file, but needed here)
1618 - python3-sphinxcontrib.plantuml
1719 jobs:
1820 post_install:
21+ # Install a newer version op plantuml -- keep in sync witch 'conf.py'!
1922 - mkdir -p ${READTHEDOCS_VIRTUALENV_PATH}/libexec
2023 - curl -o ${READTHEDOCS_VIRTUALENV_PATH}/libexec/plantuml.jar -L https://github.com/plantuml/plantuml/releases/download/v1.2024.4/plantuml-1.2024.4.jar
2124
diff -r 515a83c1a357 -r 07612377f027 conf.py
--- a/conf.py Mon Apr 29 12:29:50 2024 +0200
+++ b/conf.py Mon Apr 29 12:47:06 2024 +0200
@@ -74,23 +74,19 @@
7474 #---------
7575
7676 extensions.append('sphinxcontrib.plantuml')
77-if True or on_rtd:
78- print('DEBUG: on_rtd')
79- if False: #old
80- plantuml = 'java -Djava.awt.headless=true -jar /usr/share/plantuml/plantuml.jar'
81- else:
82- # in `.readthedocs.yaml`
83- # post_install:
84- # - curl -o ${READTHEDOCS_VIRTUALENV_PATH}/libexec/plantuml.jar -L https://github.com/plantuml/....
85- import os
86- _path=os.environ['READTHEDOCS_VIRTUALENV_PATH'] + '/libexec/'
87- plantuml = f'java -Djava.awt.headless=true -jar {_path}plantuml.jar'
88- print(f'DEBUG: plantuml={plantuml}')
77+if on_rtd:
78+ # in `.readthedocs.yaml`
79+ # post_install:
80+ # - curl -o ${READTHEDOCS_VIRTUALENV_PATH}/libexec/plantuml.jar -L https://github.com/plantuml/....
81+ # Make use of that plantUML version
82+ import os
83+ _path=os.environ['READTHEDOCS_VIRTUALENV_PATH'] + '/libexec/'
84+ plantuml = f'java -Djava.awt.headless=true -jar {_path}plantuml.jar'
85+ #print(f'DEBUG: plantuml={plantuml}')
8986 else: #local
90-# plantuml = 'java -Djava.awt.headless=true -jar /Users/albert/Apps/PlantUML/libexec/plantuml-RTfD.jar' #plantuml.1.2020.2.jar
91-# plantuml = 'plantuml'
9287 plantuml = 'java -Djava.awt.headless=true -jar /Users/albert/Apps/PlantUML/libexec/plantuml-1.2024.4.jar' # NEW
9388
89+
9490 ##plantuml_output_format='svg_img'
9591 ## dito only can be png?
9692 plantuml_output_format='png'