Skip to content

Commit 6fbcef4

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

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.readthedocs.yaml

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

0 commit comments

Comments
 (0)