This project is built using Astro and the Starlight starter kit. It serves as documentation for the Embedded Purdue GitHub organization.
- Markdown-based Documentation: Write content in
.mdor.mdxfiles located insrc/content/docs/. - Static Assets: Store images and other assets in
src/assets/. - Public Directory: Place static files like favicons in the
public/directory.
.
├── public/ # Static files accessible in the root URL
├── src/
│ ├── assets/ # Images and other media assets
│ ├── content/ # Documentation content
│ │ ├── docs/ # Markdown files for documentation
│ └── content.config.ts # Content configuration
├── astro.config.mjs # Astro configuration file
├── package.json # Project dependencies and scripts
├── tsconfig.json # TypeScript configuration
Run the following commands from the root of the project:
| Command | Description |
|---|---|
npm install |
Install project dependencies |
npm run dev |
Start the development server at localhost:4321 |
npm run build |
Build the project for production |
npm run preview |
Preview the production build locally |
npm run astro ... |
Run Astro CLI commands |
npm run astro -- --help |
Get help for Astro CLI commands |