Skip to content

chore(docs): unshallow git history on readthedocs#37

Open
Yannick-Dayer wants to merge 1 commit into
mainfrom
fix/rtd-shallow
Open

chore(docs): unshallow git history on readthedocs#37
Yannick-Dayer wants to merge 1 commit into
mainfrom
fix/rtd-shallow

Conversation

@Yannick-Dayer

@Yannick-Dayer Yannick-Dayer commented Jun 30, 2026

Copy link
Copy Markdown
Member

Builds of docs on readthedocs.io were failing because rtd shallow clones repos and versioningit requires the latest tags to determine the version.

Fetch the history after checking out from GitHub, before installing the package.


📚 Documentation preview 📚: https://gridtk--37.org.readthedocs.build/en/37/

@Yannick-Dayer Yannick-Dayer self-assigned this Jun 30, 2026
@github-actions

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

Builds of docs on readthedocs.io were failing due to the way they
shallow clone due to versioningit requiring the latest tags to
determine the version.
Fetch the history after checking out from GitHub, before installing the
package.
@Yannick-Dayer

Copy link
Copy Markdown
Member Author

Now does a git fetch --unshallow before trying to install: PR RTD build

@Yannick-Dayer Yannick-Dayer requested a review from anjos June 30, 2026 16:21
@Yannick-Dayer Yannick-Dayer enabled auto-merge (rebase) June 30, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant