1# Copyright (c) 2023, Arm Limited. All rights reserved
2#
3# SPDX-License-Identifier: BSD-3-Clause
4#
5# Configuration file for the readthedocs deploy
6# Available at https://trustedfirmware-a.readthedocs.io/en/latest/
7
8
9# readthedocs config version
10version: 2
11
12build:
13  os: ubuntu-22.04 # Ubuntu Jammy LTS
14  tools:
15    python: "3.10"
16  apt_packages:
17    - plantuml
18    - librsvg2-bin
19  jobs:
20    post_create_environment:
21      - pip install poetry=="1.3.2"
22      - poetry config virtualenvs.create false
23    post_install:
24      - poetry install --with doc
25
26sphinx:
27  configuration: docs/conf.py
28
29# Auxiliary formats to export to (in addition to the default HTML output).
30formats:
31  - pdf
32
33