Skip to content

Commit fb12426

Browse files
authored
Merge pull request #1487 from mathbunnyru/asalikhov/update_readthedocs
Update readthedocs config
2 parents 9e85c7e + 6f9aa9d commit fb12426

File tree

4 files changed

+33
-17
lines changed

4 files changed

+33
-17
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- "docs/**"
1313
- "examples/**"
1414
- ".pre-commit-config.yaml"
15+
- ".readthedocs.yaml"
1516
push:
1617
branches:
1718
- master
@@ -23,6 +24,7 @@ on:
2324
- "docs/**"
2425
- "examples/**"
2526
- ".pre-commit-config.yaml"
27+
- ".readthedocs.yaml"
2628

2729
jobs:
2830
build-test-publish-images:

.github/workflows/sphinx.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ on:
55
paths:
66
- "docs/**"
77
- ".github/workflows/sphinx.yml"
8+
- ".readthedocs.yaml"
89
push:
910
branches:
1011
- master
1112
- main
1213
paths:
1314
- "docs/**"
1415
- ".github/workflows/sphinx.yml"
16+
- ".readthedocs.yaml"
1517

1618
jobs:
1719
build-docs:

.readthedocs.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
# .readthedocs.yaml
3+
# Read the Docs configuration file
4+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
5+
6+
# Required
7+
version: 2
8+
9+
# Set the version of Python and other tools you might need
10+
build:
11+
os: ubuntu-20.04
12+
tools:
13+
python: "3.9"
14+
# You can also specify other tool versions:
15+
# nodejs: "16"
16+
# rust: "1.55"
17+
# golang: "1.17"
18+
19+
# Build documentation in the docs/ directory with Sphinx
20+
sphinx:
21+
configuration: docs/conf.py
22+
23+
# Optionally build your docs in additional formats such as PDF
24+
formats: all
25+
26+
# Optionally declare the Python requirements required to build your docs
27+
python:
28+
install:
29+
- requirements: requirements-dev.txt

.readthedocs.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)