diff --git a/.readthedocs.yaml b/.readthedocs.yaml index c7b05f7..0746da6 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,6 +10,22 @@ build: os: ubuntu-20.04 tools: python: "3.11" + jobs: + post_checkout: + # Download and uncompress the git-lfs binary + # https://git-lfs.github.com/ + - wget https://github.com/git-lfs/git-lfs/releases/download/v3.1.4/git-lfs-linux-amd64-v3.1.4.tar.gz + - tar xvfz git-lfs-linux-amd64-v3.1.4.tar.gz + # Modify LFS config paths to point where git-lfs binary was downloaded + - 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" + # Make LFS available in current repository + - ./git-lfs install + # Download content from remote + - ./git-lfs fetch + # Make local files to have the real content on them + - ./git-lfs checkout # Build documentation in the docs/ directory with Sphinx sphinx: