Public documentation site for the native-update Capacitor plugin.
- Live site: https://nativeupdate-docs.aoneahsan.com (canonical docs for the plugin)
- Docs source: this repo
- Plugin source (private): separate repo
- Marketing site + dashboard: https://nativeupdate.aoneahsan.com
- Author: Ahsan Mahmood
Built with Docusaurus 3. Every push to main deploys automatically to GitHub Pages via .github/workflows/deploy-docs.yml (see DEPLOY.md).
yarn install
yarn start # dev server at http://localhost:5960
yarn build # production build into ./build
yarn serve # preview the production build at http://localhost:5961
yarn typecheck # TypeScript-only check, no emitThe dev server is configured to bind on port 5960 (registered in ~/.dev-ports.json).
native-update-docs/
├── docs/ # Markdown content (the actual docs)
│ ├── intro.md
│ ├── getting-started/
│ ├── reference/ # SDK, CLI, backend API (populated in Batches 2–6)
│ ├── platforms/ # Android, iOS, Web (Batch 7)
│ ├── tutorials/ # End-to-end walkthroughs (Batch 8)
│ ├── how-to/ # Problem-oriented guides (Batch 8)
│ ├── concepts/ # Explanations (Batch 9)
│ └── about-the-author.md
├── src/
│ ├── css/custom.css # Brand palette + dark mode tuning
│ └── pages/index.tsx # Homepage
├── static/
│ ├── img/ # Logo, favicon, social-card SVGs
│ └── robots.txt # Skeleton — full AI-bot allow list in Batch 10
├── docusaurus.config.ts
├── sidebars.ts
└── package.json
- One H1 per page — Docusaurus uses it for the page title and breadcrumbs.
- Frontmatter required on every doc:
title,description(40–160 chars, AI-extractable),keywords,last_update.date,last_update.author.- Optional:
sidebar_positionfor ordering.
- Author credit at the bottom of every long page via the
.nu-author-carddiv. - Honesty over marketing — say what the plugin does NOT do as clearly as what it does.
- No fabricated stats — cite sources by name (Capacitor, Apple guidelines, etc.).
- Code blocks must compile / run as written. Use TypeScript over JavaScript.
All planned content batches are complete; the site is the canonical documentation for the plugin. plugin-version.json, docs/ai-integration.md, and docs/changelog.md are generated by yarn sync:from-plugin (maintainer-only; reads the private plugin repo) — don't edit them by hand.
main is protected: contributions go through fork + pull request with one approving review and a green build check — see CONTRIBUTING.md. If you spot an error or want to suggest a topic, open an issue.
MIT — same as the plugin. Built by Ahsan Mahmood (aoneahsan@gmail.com, LinkedIn).