Skip to content

Commit

Permalink
Merge pull request #1245: Prepare for RTD shallow cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Jul 5, 2023
2 parents 9e8c9e0 + a47be57 commit e20e53b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ build:
os: ubuntu-22.04
tools:
python: "3.7"
jobs:
post_checkout:
# Convert the shallow clone to a complete one so author information can be
# generated from the full git history in conf.py.
- git fetch --unshallow || true
# TODO: remove `|| true` once RTD no longer uses complete cloning for this
# repo¹ (scheduled² August 28th, 2023).
# ¹ https://github.com/readthedocs/readthedocs.org/issues/5689
# ² https://support.nextstrain.org/agent/nextstrain/nextstrain/tickets/details/668036000004369027

python:
install:
Expand Down

0 comments on commit e20e53b

Please sign in to comment.