From e10eebaec368b04f28102df513e26e933ed5a6fd Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 21 Jul 2024 15:24:25 +0200 Subject: [PATCH] Unshallow git clone on RtD. This is required for get_version to find the last tag. --- .readthedocs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index 0369e0656..28c990c5c 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -4,6 +4,9 @@ build: os: ubuntu-20.04 tools: python: "3.10" + jobs: + post_checkout: + - git fetch --unshallow sphinx: configuration: docs/conf.py