Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit fd7fbdd

Browse files
committed
DOC: Migrate Read the Docs settings to file and switch from python 3.7 to 3.9
This commit ensures the python version used to build the documentation matches the one available in Slicer. See https://docs.readthedocs.io/en/stable/config-file/index.html
1 parent 6c4fc76 commit fd7fbdd

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
!.gitattributes
66
!.git-blame-ignore-revs
77
!.pre-commit-config.yaml
8+
!.readthedocs.yaml
89

910
# Ignore all back-up files...
1011
*~

.readthedocs.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
version: 2
5+
6+
build:
7+
os: ubuntu-22.04
8+
tools:
9+
python: "3.9"
10+
11+
sphinx:
12+
builder: html
13+
configuration: Docs/conf.py
14+
15+
formats:
16+
- epub
17+
- pdf
18+
19+
python:
20+
install:
21+
- requirements: requirements-docs.txt

0 commit comments

Comments
 (0)