mirror of
https://github.com/ceph/ceph
synced 2024-12-29 15:03:33 +00:00
Merge pull request #42577 from tchaikov/wip-rtd
.readthedocs.yml: use python3.8 and native ditaa Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
This commit is contained in:
commit
c50d8ebdef
@ -6,8 +6,10 @@ version: 2
|
||||
formats: []
|
||||
build:
|
||||
image: latest
|
||||
apt_packages:
|
||||
- ditaa
|
||||
python:
|
||||
version: 3
|
||||
version: 3.8
|
||||
install:
|
||||
- requirements: admin/doc-requirements.txt
|
||||
- requirements: admin/doc-read-the-docs.txt
|
||||
|
@ -126,6 +126,9 @@ extensions = [
|
||||
|
||||
ditaa = shutil.which("ditaa")
|
||||
if ditaa is not None:
|
||||
# in case we don't have binfmt_misc enabled or jar is not registered
|
||||
ditaa_args = ['-jar', ditaa]
|
||||
ditaa = 'java'
|
||||
extensions += ['sphinxcontrib.ditaa']
|
||||
else:
|
||||
extensions += ['plantweb.directive']
|
||||
|
Loading…
Reference in New Issue
Block a user