Add .readthedocs.yaml
Signed-off-by: Arthur She <arthur.she@linaro.org>
Change-Id: I2ca98fa535ca33c5c64032bed1a3be4c1155b8fb
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644
index 0000000..aa04d3a
--- /dev/null
+++ b/.readthedocs.yaml
@@ -0,0 +1,32 @@
+# Copyright (c) 2023, Arm Limited. All rights reserved
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+# Configuration file for the readthedocs deploy
+# Available at https://trustedfirmware-a.readthedocs.io/en/latest/
+
+
+# readthedocs config version
+version: 2
+
+build:
+ os: ubuntu-22.04 # Ubuntu Jammy LTS
+ tools:
+ python: "3.10"
+# apt_packages:
+# - plantuml
+# - librsvg2-bin
+# jobs:
+# post_create_environment:
+# - pip install poetry=="1.3.2"
+# - poetry config virtualenvs.create false
+# post_install:
+# - poetry install --with doc
+
+sphinx:
+ configuration: docs/conf.py
+
+# Auxiliary formats to export to (in addition to the default HTML output).
+formats:
+ - pdf
+