1# Copyright (c) 2023-2024, 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    post_install:
23      - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
24
25sphinx:
26  configuration: docs/conf.py
27
28# Auxiliary formats to export to (in addition to the default HTML output).
29formats:
30  - pdf
31
32