From e86cbeecb75f9360ac6fd262f18bb7e54143c30e Mon Sep 17 00:00:00 2001 From: Henry Pinkard <7969470+henrypinkard@users.noreply.github.com> Date: Thu, 1 Aug 2024 13:19:58 +0200 Subject: [PATCH] use LFS for docs? --- readthedocs.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/readthedocs.yaml b/readthedocs.yaml index a7ad12e..5ef83ac 100644 --- a/readthedocs.yaml +++ b/readthedocs.yaml @@ -1,12 +1,5 @@ version: 2 -# The figures are stored with lfs -pre_build: - - apt-get update - - apt-get install -y git-lfs - - git lfs install - - git lfs pull - # Build documentation in the docs/ directory with Sphinx sphinx: @@ -18,6 +11,12 @@ build: os: ubuntu-20.04 tools: python: "3.10" + commands: + # Use LFS for figures + - apt-get update + - apt-get install -y git-lfs + - git lfs install + - git lfs pull # Optionally specify the Python version used by Read the Docs