Skip to content

Commit f681e0d

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

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.readthedocs.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
build:
7+
os: ubuntu-24.04
8+
tools:
9+
python: "3.12"
10+
jobs:
11+
post_checkout:
12+
# rtfd doesn't retrieve tags by default, but we need them for `git
13+
# describe` in order to build the parser builtins
14+
# FIXME: remove once upb is published and can be installed from pypi)
15+
- git fetch --unshallow --tags || true
16+
17+
python:
18+
install:
19+
- method: pip
20+
path: ./ua-parser-builtins
21+
- method: pip
22+
path: .
23+
extra_requirements:
24+
- yaml
25+
- regex
26+
- re2
27+
28+
sphinx:
29+
configuration: docs/conf.py
30+
fail_on_warning: true

0 commit comments

Comments
 (0)