xref: /libCEED/.readthedocs.yml (revision 49aac155e7a09736f56fb3abac0f57dab29f7cbf)
1# Read the Docs configuration file
2# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
4# Required
5version: 2
6
7build:
8  os: ubuntu-22.04
9  tools:
10    python: "3.11"
11    nodejs: "19"
12  apt_packages:
13    - librsvg2-bin
14  jobs:
15    post_create_environment:
16      - npm install -g @mermaid-js/mermaid-cli
17
18# Build documentation in the docs/ directory with Sphinx
19sphinx:
20  builder: dirhtml
21  configuration: doc/sphinx/source/conf.py
22
23# Optionally build your docs in additional formats such as PDF and ePub
24formats:
25  - pdf
26
27# Optionally set the version of Python and requirements required to build your docs
28python:
29  install:
30    - requirements: doc/sphinx/requirements.txt
31