This project is a documentation website for code_aster docker version, built with Astro and Starlight.
.
├── public/ # Static assets (e.g., favicon, global CSS)
├── src/
│ ├── assets/ # Images and other media for docs
│ ├── content/
│ │ └── docs/ # Documentation pages (.md, .mdx)
│ └── content.config.ts # Content collections config
├── astro.config.mjs # Astro configuration
├── package.json # Project metadata and scripts
├── tsconfig.json # TypeScript configuration
└── README.md # Project overview (this file)
- Documentation pages are located in
src/content/docs/
. - Images can be placed in
src/assets/
. - Static files (e.g., favicon) go in
public/
.
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
The site will be available at http://localhost:4321.
-
Build for production:
npm run build
-
Preview the production build:
npm run preview
Command | Description |
---|---|
npm install |
Install dependencies |
npm run dev |
Start local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally before deploying |
npm run astro ... |
Run Astro CLI commands (e.g., astro add ) |
npm run astro -- --help |
Get help using the Astro CLI |