Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/readthedocs/readthedocs.org/refs/heads/main/readthedocs/rtd_tests/fixtures/spec/v2/schema.json
# https://docs.readthedocs.io/en/stable/config-file/v2.html

version: 2

build:
os: ubuntu-lts-latest
tools:
python: mambaforge-latest

conda:
environment: docs/rtd_environment.yaml
python: latest
apt_packages:
- graphviz

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

formats: []
8 changes: 0 additions & 8 deletions docs/rtd_environment.yaml

This file was deleted.

25 changes: 25 additions & 0 deletions {{ cookiecutter.package_name }}/.readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/readthedocs/readthedocs.org/refs/heads/main/readthedocs/rtd_tests/fixtures/spec/v2/schema.json
# https://docs.readthedocs.io/en/stable/config-file/v2.html

version: 2

build:
os: ubuntu-lts-latest
tools:
python: latest
apt_packages:
- graphviz

python:
install:
- method: pip
path: .
extra_requirements:
- docs

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

formats: []
Loading