Skip to content

Commit

Permalink
Add configuration file for RTFD
Browse files Browse the repository at this point in the history
  • Loading branch information
masklinn committed Nov 25, 2024
1 parent f2434ba commit b6e0400
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# 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: ./ua-parser-builtins
- method: pip
path: .
extra_requirements:
- yaml
- regex
- re2

sphinx:
configuration: doc/conf.py
fail_on_warning: true

0 comments on commit b6e0400

Please sign in to comment.