Skip to content

Commit 2047b4a

Browse files
Unshallow the git clone for the RTD build
1 parent e9ab153 commit 2047b4a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.readthedocs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ build:
1010
os: ubuntu-22.04
1111
tools:
1212
python: "3.11"
13+
14+
# Unshallow the git clone to allow vcs versioning to pick
15+
# up tags properly
16+
jobs:
17+
post_checkout:
18+
- git fetch --unshallow || true
19+
1320
# Build documentation in the docs/ directory with Sphinx
1421
sphinx:
1522
configuration: docs/conf.py

0 commit comments

Comments
 (0)