This directory contains the Docusaurus-based documentation website for the helios framework.
Start the development server to preview the website locally:
cd website
npm start
The website will be available at http://localhost:3000.
Build the website for production:
npm run build
The static files will be generated in the build/ directory.
Serve the production build locally:
npm run serve
website/
├── docs/ # Documentation markdown files
│ ├── intro.md # Getting started page
│ ├── getting-started.md # Installation guide
│ ├── api/ # API reference
│ ├── examples/ # Example tutorials
│ ├── core-concepts/ # Architecture explanations
│ └── contributing/ # Contribution guide
├── src/
│ ├── components/ # React components
│ ├── css/ # Custom styles
│ └── pages/ # Custom pages (landing page)
├── static/ # Static assets (images, etc.)
├── docusaurus.config.ts # Docusaurus configuration
└── sidebars.ts # Sidebar structure
docs/ subdirectory---
sidebar_position: 1
---
# Your Page Title
Content here...
Use relative links:
See the [API Reference](./api/overview.md) for details.
To deploy to GitHub Pages:
npm run deploy
This will build the website and push it to the gh-pages branch.
npm run buildbuild/ directory to your web serverEdit docusaurus.config.ts to customize:
The website automatically syncs documentation from the main repository during build.
What is synced:
| Source | Destination | Description |
|---|---|---|
CHANGELOG.md |
docs/changelog.md |
Project changelog |
docs/styleguide.md |
docs/contributing/styleguide.md |
Code style guide |
docs/doxygen-style.md |
docs/contributing/doxygen-style.md |
Documentation style |
docs/CONTRIBUTING.md |
docs/contributing/guide.md |
Contributing guide |
docs/CHANGELOG_GUIDE.md |
docs/contributing/changelog-guide.md |
Changelog maintenance |
examples/README.md |
docs/examples/overview.md |
Examples overview |
examples/*/README.md |
docs/examples/*.md |
Individual example tutorials |
How it works:
The sync script (scripts/sync-changelog.mjs) runs automatically during:
npm run build (local builds)Editing synced documents:
⚠️ Do not edit synced files directly in website/docs/!
Instead:
npm run build or manually sync: node scripts/sync-changelog.mjs<!-- Auto-synced from repository ... -->Adding new synced documents:
See scripts/README.md for instructions.
Edit src/css/custom.css to customize colors and styles:
:root {
--ifm-color-primary: #ff3d00;
--ifm-color-primary-dark: #ff3d00;
/* ... more colors ... */
}
Custom React components are in src/components/. The main feature highlights are in HomepageFeatures/index.tsx.
If port 3000 is in use, specify a different port:
npm start -- --port 3001
Clear the cache and rebuild:
npm run clear
npm run build