- Node.js (v16 or higher)
- npm or yarn package manager
- Navigate to the project directory:
cd microbit-apps.github.io- Install dependencies:
npm installTo start the development server:
npm run devThe site will be available at http://localhost:3000
To build the site for production:
npm run buildThe built site will be in the dist/ directory.
The site is configured to deploy to GitHub Pages. Push your changes to the main branch and the site will automatically build and deploy.
src/
├── content/
│ └── docs/
│ ├── index.mdx (homepage)
│ ├── getting-started/
│ ├── apps/
│ └── resources/
├── assets/
│ └── (images and SVGs)
└── styles/
└── custom.css
astro.config.mjs - Astro configuration
package.json - Project dependencies
tsconfig.json - TypeScript configuration
- Edit
astro.config.mjsto customize site settings, sidebar navigation, and theme - Add new pages in
src/content/docs/ - Modify styling in
src/styles/custom.css - Replace logo images in
src/assets/