Skip to content

hmpl-language/app

Repository files navigation

HMPL App Documentation

This is the official documentation for the HMPL project, built using Astro Starlight.

Installation

Make sure you have Node.js v18+ installed.

  1. Clone the repository:

    git clone https://github.com/hmpl-language/hmpl.git
    cd hmpl/www/app
  2. Install dependencies:

    npm install

Available Scripts

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

Start Development Server

npm run dev

The site will be available at: http://localhost:4321 (default Astro port)

Build for Production

npm run build

The static site will be generated in the dist/ folder.

Preview Production Build

npm run preview

Project Structure

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

Contributing

  1. Fork the repository
  2. Create a new branch: git checkout -b feature/your-feature-name
  3. Make your changes
  4. Commit your changes: git commit -m 'Add: New section'
  5. Push to your fork: git push origin feature/your-feature-name
  6. Open a Pull Request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published