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://hafnium.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  jobs:
19    post_create_environment:
20      - pip install poetry=="1.3.2"
21      - poetry config virtualenvs.create false
22    post_install:
23      - poetry install --with doc
24
25sphinx:
26  configuration: docs/conf.py
27