Skip to content

Commit

Permalink
fix: readthedocs git fetch unshallow
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato committed Jul 28, 2023
1 parent 9e03505 commit 38ca15c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ build:
os: ubuntu-22.04
tools:
python: "3.10"
jobs:
post_checkout:
- git fetch --unshallow
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
- git fetch origin

# Uncomment to debug
# pre_install:
# - pip install -U pip
# - pip install setuptools>=45 setuptools_scm[toml]>=6.2
# - SETUPTOOLS_SCM_DEBUG=1 python -m setuptools_scm

# Build from the docs/ directory with Sphinx
sphinx:
Expand Down

0 comments on commit 38ca15c

Please sign in to comment.