Skip to content

Move docs into the repo (docs/) + deploy from here - #3

Merged
hassanannajjar merged 1 commit into
mainfrom
chore/move-docs-into-repo
Sep 12, 2026
Merged

hassanannajjar merged 1 commit into
mainfrom
chore/move-docs-into-repo

Conversation

@hassanannajjar

Copy link
Copy Markdown
Member

Moves the Astro Starlight docs from the separate Mobile-DevTools-Docs repo into this repo under docs/, and deploys them to GitHub Pages from here.

What changed

  • docs/ — the full site (astro.config, package/package-lock, tsconfig, src/ incl. the new AI pages + Build Helper screenshots). Astro base rebased /Mobile-DevTools-Docs → /Mobile-DevTools; all 44 internal links + the published URL updated to match.
  • .github/workflows/deploy-docs.yml — builds docs/ (npm ci + astro build) and publishes docs/dist to Pages on push to main under docs/** (or manual).
  • scripts/check-lines.js — exempts docs/ (its Astro toolchain isn't tool source).
  • CLAUDE.md / CONTRIBUTING.md / README.md / public/index.html — docs are now in-repo at docs/, served at https://battastudio.github.io/Mobile-DevTools/.

Verified

  • cd docs && npm ci && npm run build → 32 pages, base /Mobile-DevTools/, screenshots optimized to _astro/*.webp.
  • No /Mobile-DevTools-Docs/ left in the build or the repo. check-lines clean; build-helper --selftest passes.
  • Repo Pages source already = GitHub Actions (https://battastudio.github.io/Mobile-DevTools/) — deploy runs on merge to main.

Follow-up

The old battastudio/Mobile-DevTools-Docs repo + its Pages can be retired.

🤖 Generated with Claude Code

The Astro Starlight docs move from the separate Mobile-DevTools-Docs repo into
this repo under docs/, and now deploy to GitHub Pages from here.

- docs/: the full site (astro.config, package*, tsconfig, src/ incl. the AI pages
  + build-helper screenshots). Base rebased /Mobile-DevTools-Docs → /Mobile-DevTools;
  all 44 internal links + the published URL updated to match.
- .github/workflows/deploy-docs.yml: builds docs/ (npm ci + astro build) and
  publishes docs/dist to Pages on push to main under docs/** (or manual).
- scripts/check-lines.js: exempt docs/ (its Astro toolchain isn't tool source).
- CLAUDE.md / CONTRIBUTING.md / README.md / public/index.html: docs are now
  in-repo at docs/ and served at https://battastudio.github.io/Mobile-DevTools/.

Verified: `cd docs && npm ci && npm run build` → 32 pages, base /Mobile-DevTools/,
screenshots optimized, no /Mobile-DevTools-Docs/ left in the build or the repo;
check-lines clean; build-helper --selftest passes.

One-time: set repo Settings → Pages → Source to "GitHub Actions". The old
Mobile-DevTools-Docs repo/Pages can be retired.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@hassanannajjar
hassanannajjar merged commit 3e7c724 into main Sep 12, 2026
1 check 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.

1 participant