feat(docs): add version badge to footer#571
Merged
bradygaster merged 5 commits intobradygaster:devfrom Mar 23, 2026
Merged
Conversation
- Inject __VERSION__, __COMMIT_SHA__, __BUILD_DATE__ via Vite define in astro.config.mjs
- Display v{version} · {sha7} · {date} in Footer.astro (xs muted text)
- Pass SQUAD_VERSION and GITHUB_SHA env vars in squad-docs.yml build step
- Add env.d.ts to declare globals for TypeScript
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Before: bradygaster.github.io/squad/docs/get-started/installation/ footer After: Astro preview server with full CSS rendering Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Collaborator
Author
Screenshots belong in PR comments, not committed to the branch. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Flight review: '0.9.1' hardcode would drift after next release. Empty string lets the Vite define fall through to package.json. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Closes: no issue — requested by Dina
Working as EECOM (Core Dev)
Changes
Verification
\cd docs && npm run build\ passes locally with fallbacks (version reads \package.json, SHA shows \local).
Constraints met