Skip to content

Commit cc178e0

Browse files
authored
ci: add a readthedocs config (#394)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 9be0d61 commit cc178e0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.readthedocs.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
12+
tools:
13+
ruby: "3.3"
14+
15+
commands:
16+
- bundle install
17+
- >
18+
JEKYLL_ENV=production bundle exec jekyll build --destination
19+
_readthedocs/html --baseurl $(echo -n "$READTHEDOCS_CANONICAL_URL" | cut
20+
-d '/' -f 4-)

0 commit comments

Comments
 (0)