Revision 2c3cfd1042e4a8aba3c2f9cf498f7822dc8d00a3 authored by P. L. Lim on 06 July 2023, 17:58:02 UTC, committed by GitHub on 06 July 2023, 17:58:02 UTC
2 parent s d064114 + 49e0b92
Raw File
.readthedocs.yaml
version: 2

build:
  os: "ubuntu-20.04"
  tools:
    python: "mambaforge-4.10"
  jobs:
    post_checkout:
      - git fetch --shallow-since=2023-01-01  || true
    pre_install:
      - git update-index --assume-unchanged docs/conf.py docs/rtd_environment.yaml

conda:
  environment: docs/rtd_environment.yaml

sphinx:
  builder: html
  configuration: docs/conf.py
  fail_on_warning: true

# Install regular dependencies.
# Then, install special pinning for RTD.
python:
  system_packages: false
  install:
    - method: pip
      path: .
      extra_requirements:
        - docs
        - all

# Don't build any extra formats
formats: []
back to top