Skip to content

Commit 26ed6f8

Browse files
committed
Add configuration file for RTFD
1 parent c727d9b commit 26ed6f8

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.readthedocs.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Read the Docs configuration file for Sphinx projects
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
version: 2
5+
6+
# needed for uap-core to get initialised properly
7+
submodules:
8+
include: all
9+
10+
build:
11+
os: ubuntu-24.04
12+
tools:
13+
python: "3.12"
14+
jobs:
15+
post_checkout:
16+
# rtfd doesn't retrieve tags by default, but we need them for `git
17+
# describe` in order to build the parser builtins
18+
# FIXME: remove once upb is published and can be installed from pypi)
19+
- git fetch --unshallow --tags || true
20+
21+
python:
22+
install:
23+
- method: pip
24+
path: .
25+
extra_requirements:
26+
- yaml
27+
- regex
28+
- re2
29+
30+
sphinx:
31+
configuration: doc/conf.py
32+
fail_on_warning: true

0 commit comments

Comments
 (0)