Skip to content

Commit 991dd54

Browse files
committed
Add configuration file for RTFD
1 parent f2434ba commit 991dd54

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.readthedocs.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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: ./ua-parser-builtins
25+
- method: pip
26+
path: .
27+
extra_requirements:
28+
- yaml
29+
- regex
30+
- re2
31+
32+
sphinx:
33+
configuration: docs/conf.py
34+
fail_on_warning: true

0 commit comments

Comments
 (0)