-
Notifications
You must be signed in to change notification settings - Fork 22
/
.readthedocs.yml
39 lines (34 loc) · 1.12 KB
/
.readthedocs.yml
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
33
34
35
36
37
38
39
# Read the Docs configuration file for MkDocs projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
build:
os: ubuntu-22.04
tools:
python: "mambaforge-22.9"
jobs:
post_checkout:
# Check out the full depth for setuptools-scm
- git fetch --unshallow || true
# Check out git-lfs files
# See https://docs.readthedocs.io/en/stable/build-customization.html#support-git-lfs-large-file-storage
- wget
https://github.com/git-lfs/git-lfs/releases/download/v3.4.0/git-lfs-linux-amd64-v3.4.0.tar.gz
- tar xvfz git-lfs-linux-amd64-v3.4.0.tar.gz
- ln -s git-lfs-3.4.0/git-lfs git-lfs
- git config filter.lfs.process "`pwd`/git-lfs filter-process"
- git config filter.lfs.smudge "`pwd`/git-lfs smudge -- %f"
- git config filter.lfs.clean "`pwd`/git-lfs clean -- %f"
- ./git-lfs install
- ./git-lfs fetch
- ./git-lfs checkout
mkdocs:
configuration: mkdocs.yml
fail_on_warning: true
conda:
environment: environment-dev.yml
python:
install:
- method: pip
path: .
extra_requirements:
- all