This is the official documentation for the HMPL project, built using Astro Starlight.
Make sure you have Node.js v18+ installed.
-
Clone the repository:
git clone https://github.com/hmpl-language/hmpl.git cd hmpl/www/app
-
Install dependencies:
npm install
Script | Description |
---|---|
npm run dev |
Starts the local development server |
npm run build |
Builds the static site for production |
npm run preview |
Previews the production build locally |
npm run astro ... |
Runs any Astro CLI command |
npm run dev
The site will be available at: http://localhost:4321 (default Astro port)
npm run build
The static site will be generated in the dist/
folder.
npm run preview
new-app/
├── public/ # Static assets (images, fonts, etc.)
├── src/
│ ├── components/ # Vue & Astro components
│ ├── content/ # Markdown documentation files
│ ├── pages/ # Astro pages (routes)
│ ├── styles/ # CSS files
│ └── ...
├── package.json
├── astro.config.mjs # Astro configuration
├── tsconfig.json # TypeScript configuration
└── README.md # This file
- Fork the repository
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes
- Commit your changes:
git commit -m 'Add: New section'
- Push to your fork:
git push origin feature/your-feature-name
- Open a Pull Request