diff --git a/.readthedocs.yml b/.readthedocs.yml index 325a27b8..e72d336e 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -10,6 +10,13 @@ build: os: ubuntu-22.04 tools: python: "3.11" + + # Unshallow the git clone to allow vcs versioning to pick + # up tags properly + jobs: + post_checkout: + - git fetch --unshallow + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/conf.py