docs/.readthedocs.yaml

32 lines
No EOL
722 B
YAML

# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: src/conf.py
# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
# - pdf
# Optionally declare the Python requirements required to build your docs
build:
os: ubuntu-22.04
tools:
python: "3.9"
nodejs: "16"
jobs:
post_create_environment:
- pip install poetry
- poetry config virtualenvs.create false
post_install:
- poetry install
- npm install -g @mermaid-js/mermaid-cli
formats:
- epub
- pdf