Getting Started
Prerequisitesโ
- Node.js 18+
- pnpm (
npm install -g pnpm) - Git access to gitea.lego-cloud.eu
Developmentโ
Clone the repositoryโ
git clone ssh://git@gitea.lego-cloud.eu:30009/skic-v1-playground/documentation.git
cd documentation
Install dependenciesโ
pnpm install
Start development serverโ
pnpm start
The site will be available at http://localhost:3000.
Build for productionโ
pnpm build
Serve production build locallyโ
pnpm serve
Adding Documentationโ
New Applicationโ
- Create a directory under
docs/applications/your-app-name/ - Add an
index.mdwith frontmatter - Create subdirectories for each module
- Update
sidebars.tsto include the new section
New Guideโ
- Create a markdown file under
docs/guides/ - Add frontmatter with
sidebar_position - Update
sidebars.tsif needed
Project Structureโ
documentation/
โโโ docs/ # Documentation content
โ โโโ intro/ # Welcome & overview
โ โโโ applications/ # Per-application docs
โ โ โโโ stock-market-professional/
โ โโโ architecture/ # Platform-wide architecture
โ โโโ guides/ # How-to guides
โโโ blog/ # Changelog / updates
โโโ src/ # Custom components & CSS
โโโ static/ # Static assets
โโโ docusaurus.config.ts # Site configuration
โโโ sidebars.ts # Sidebar structure
โโโ package.json # Dependencies