Skip to content

Conversation

@solidsnakedev
Copy link
Collaborator

Problem

The documentation deployment was experiencing issues due to a shallow git clone warning from Nextra:

```
[nextra] The repository is shallow cloned, so the latest modified time will not be presented.
```

Solution

  • Changed `fetch-depth` from `2` to `0` in the GitHub Actions checkout step
  • This fetches the full git history, allowing Nextra to properly determine file modification times
  • Resolves the shallow clone warning and ensures proper documentation generation

Changes

  • Updated `.github/workflows/docs.yml` to use `fetch-depth: 0`

Testing

This should resolve the documentation deployment issues and eliminate the Nextra warning during the build process.

- Change fetch-depth from 2 to 0 to fetch full git history
- This resolves nextra shallow clone warning and ensures proper file timestamps
- Should fix documentation deployment issues
@solidsnakedev solidsnakedev merged commit f45f4f5 into main Jul 31, 2025
2 checks passed
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.

2 participants