forked from ua-parser/uap-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.readthedocs.yaml
More file actions
32 lines (27 loc) · 738 Bytes
/
.readthedocs.yaml
File metadata and controls
32 lines (27 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
# needed for uap-core to get initialised properly
submodules:
include: all
build:
os: ubuntu-24.04
tools:
python: "3.12"
jobs:
post_checkout:
# rtfd doesn't retrieve tags by default, but we need them for `git
# describe` in order to build the parser builtins
# FIXME: remove once upb is published and can be installed from pypi)
- git fetch --unshallow --tags || true
python:
install:
- method: pip
path: .
extra_requirements:
- yaml
- regex
- re2
sphinx:
configuration: doc/conf.py
fail_on_warning: true