-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path.readthedocs.yaml
More file actions
36 lines (29 loc) · 1.43 KB
/
.readthedocs.yaml
File metadata and controls
36 lines (29 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# =========== IMPORTANT!! READ THIS!! ============ #
# This file can be copied to be used for websites deployments with RTD.
# When you copy this file, make sure to check and modify the fields
# that here are marked with `MODIFY IF NEEDED`.
# The post_build job in this file checks links using ACCESS-Hive-Docs check_links_workflow
# (https://github.com/ACCESS-NRI/ACCESS-Hive-Docs/blob/main/.github/workflows/check_links_workflow.yml)
# By default this uses the ACCESS-Hive-Docs lychee config (https://github.com/ACCESS-NRI/ACCESS-Hive-Docs/blob/main/.github/workflows/lychee_config.toml)
# To use a custom lychee config, add `.github/workflows/lychee_config.toml` to this repo.
# ============================================== #
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# ReadtheDocs config version
version: 2
# Set the ReadtheDocs Docker image OS, Python version, and other tools you might need
build:
os: ubuntu-24.04
tools:
python: "3.13"
# jobs:
# post_checkout: # MODIFY IF NEEDED: uncomment to cancel the RTD build
# - exit 183
# Build documentation with Mkdocs
mkdocs:
configuration: mkdocs.yml # MODIFY IF NEEDED: path to mkdocs.yml
# Python requirements to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: requirements.txt # MODIFY IF NEEDED: path to requirements.txt