Skip to content

Add VitePress GitHub Pages site#6

Merged
Ring-wdr merged 1 commit intomainfrom
feat/github-pages-site
Mar 25, 2026
Merged

Add VitePress GitHub Pages site#6
Ring-wdr merged 1 commit intomainfrom
feat/github-pages-site

Conversation

@Ring-wdr
Copy link
Owner

Summary

  • add a VitePress-powered GitHub Pages site for the public project narrative
  • add a landing page plus workflows and architecture pages sourced from the existing README and docs
  • add a dedicated GitHub Actions Pages workflow and docs build scripts

Testing

  • npm run build
  • npm test
  • npm run docs:build

Notes

  • keeps maintainer-only markdown out of the public Pages build via VitePress srcExclude
  • follows the normal protected-branch flow by deploying Pages from Actions after merge to main

The repository had solid CLI docs and maintainer notes, but no public-facing
site that framed the project for first-time users. This adds a VitePress-based
GitHub Pages surface with a landing page, workflow guide, architecture guide,
and a deploy workflow that follows the protected-branch path.

Constraint: GitHub Pages should deploy from Actions without changing branch protection
Constraint: Public docs should not expose maintainer-only handoff notes as site pages
Rejected: Keep everything inside README only | too dense for first-time discovery
Rejected: Use Jekyll or a heavier docs framework | worse fit for this Node repo and v1 scope
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Keep the public site focused on user-facing explanation and workflows; do not publish internal validation artifacts without a deliberate docs decision
Tested: npm run build; npm test; npm run docs:build
Not-tested: Live GitHub Pages deployment after merge to main
@Ring-wdr Ring-wdr merged commit 8050fd2 into main Mar 25, 2026
4 checks passed
@Ring-wdr Ring-wdr deleted the feat/github-pages-site branch March 25, 2026 14:26
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ef3f4b58c2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +18 to +19
group: pages
cancel-in-progress: true

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Split concurrency group by ref to avoid canceling deploys

Using a single concurrency.group: pages with cancel-in-progress: true means every PR build and every main push deployment share the same lock, so a new PR run can cancel an in-flight production deploy from push to main. Because this workflow is triggered by both pull_request and push, the current setting can intermittently prevent docs updates from reaching GitHub Pages when activity overlaps.

Useful? React with 👍 / 👎.

Comment on lines +26 to +27
- name: Checkout
uses: actions/checkout@v5

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Fetch full history when enabling VitePress lastUpdated

The workflow uses default checkout depth, but docs config enables lastUpdated, which depends on git history to compute per-page timestamps. With shallow checkout, VitePress can only see truncated history and will produce inaccurate "last updated" metadata for pages not changed in the latest commit; add fetch-depth: 0 to the checkout step so timestamps reflect actual file history.

Useful? React with 👍 / 👎.

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