Skip to content

feat(docs): Astro Starlight site for GitHub Pages#24

Merged
jayrav13 merged 1 commit into
mainfrom
feat/docs-site
May 2, 2026
Merged

feat(docs): Astro Starlight site for GitHub Pages#24
jayrav13 merged 1 commit into
mainfrom
feat/docs-site

Conversation

@jayrav13

@jayrav13 jayrav13 commented May 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds site/ — a full Astro 5 + Starlight docs site for end-user documentation
  • 10 content pages written from the gem's actual API/CLI source of truth (CLAUDE.md, lib/, agents/skywatch.md)
  • GitHub Actions workflow (.github/workflows/docs.yml) builds and deploys to GitHub Pages on push to main (paths: site/** or the workflow file)
  • site/node_modules/, site/dist/, and site/.astro/ added to .gitignore
  • Ruby gem (lib/, spec/, Gemfile, skywatch.gemspec) untouched

Pages (10 total)

Page Path
Overview src/content/docs/index.md
Getting started src/content/docs/getting-started.md
Claude Code agent src/content/docs/claude-agent.md
CLI: brief src/content/docs/cli/brief.md
CLI: weather src/content/docs/cli/weather.md
CLI: nimbus src/content/docs/cli/nimbus.md
CLI: mayday src/content/docs/cli/mayday.md
CLI: radar src/content/docs/cli/radar.md
CLI: agent src/content/docs/cli/agent.md
Reference: Brief JSON schema src/content/docs/reference/brief-shape.md

Local build verified

cd site && npm run build
# 11 page(s) built in 5.01s — all sidebar links resolve, no 404s

Before the first deploy — manual step required

Enable GitHub Pages in the repo settings before the workflow can deploy:

Repo Settings → Pages → Build and deployment → Source → GitHub Actions

Once that is set, any push to main that touches site/** will trigger the build + deploy job.

Test plan

  • Enable GitHub Pages in repo settings (Source: GitHub Actions)
  • Merge this PR — the docs.yml workflow triggers automatically
  • Visit https://jayrav13.github.io/skywatch/ to confirm the site is live

🤖 Generated with Claude Code

Add site/ with Astro 5 + Starlight for end-user docs. 10 pages covering
overview, getting started, Claude Code agent, all CLI commands, and the
Brief JSON schema. GitHub Actions workflow deploys to GitHub Pages on
push to main paths: site/** or the workflow file itself.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jayrav13 jayrav13 merged commit 0638c0c into main May 2, 2026
3 checks passed
@jayrav13 jayrav13 deleted the feat/docs-site branch May 2, 2026 02:40
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