Skip to main content

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โ€‹

  1. Create a directory under docs/applications/your-app-name/
  2. Add an index.md with frontmatter
  3. Create subdirectories for each module
  4. Update sidebars.ts to include the new section

New Guideโ€‹

  1. Create a markdown file under docs/guides/
  2. Add frontmatter with sidebar_position
  3. Update sidebars.ts if 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