mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 00:07:38 +00:00
add .readthedocs.yaml
otherwise rtd uses: - python 3.7, which is too old for borg. - shallow git checkout, which might make setuptools_scm fail to create a correct version
This commit is contained in:
parent
b208785fff
commit
a40390b1ac
1 changed files with 33 additions and 0 deletions
33
.readthedocs.yaml
Normal file
33
.readthedocs.yaml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# .readthedocs.yaml - Read the Docs configuration file.
|
||||||
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details.
|
||||||
|
|
||||||
|
version: 2
|
||||||
|
|
||||||
|
build:
|
||||||
|
os: ubuntu-22.04
|
||||||
|
tools:
|
||||||
|
python: "3.11"
|
||||||
|
jobs:
|
||||||
|
post_checkout:
|
||||||
|
- git fetch --unshallow
|
||||||
|
apt_packages:
|
||||||
|
- build-essential
|
||||||
|
- pkg-config
|
||||||
|
- libacl1-dev
|
||||||
|
- libssl-dev
|
||||||
|
- liblz4-dev
|
||||||
|
- libzstd-dev
|
||||||
|
- libxxhash-dev
|
||||||
|
|
||||||
|
python:
|
||||||
|
install:
|
||||||
|
- requirements: requirements.d/development.lock.txt
|
||||||
|
- requirements: requirements.d/docs.txt
|
||||||
|
- method: pip
|
||||||
|
path: .
|
||||||
|
|
||||||
|
sphinx:
|
||||||
|
configuration: docs/conf.py
|
||||||
|
|
||||||
|
formats:
|
||||||
|
- pdf
|
Loading…
Reference in a new issue