This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
npm start- Start the development server with hot reloadnpm run build- Build the static site for productionnpm run serve- Serve the built static site locallynpm run clear- Clear the Docusaurus cache
npm run deploy- Deploy to GitHub Pages
npm run write-translations- Extract translation messagesnpm run write-heading-ids- Generate heading IDs for docs
This is a Docusaurus v3 workshop template designed to help create lab documentation sites. Key architectural components:
- Docusaurus Configuration (
docusaurus.config.js): Central configuration defining site metadata, theme settings, plugins, and custom fields including UTM parameters - Content Organization: MDX-based documentation in
docs/folder with auto-generated sidebar from folder structure - Internationalization: Full i18n support with Spanish (
es) translations ini18n/es/ - Custom Components: Reusable React components in
src/components/for enhanced documentation features
- UTM Tracking: Built-in UTM parameter system for tracking workshop engagement (configured in
docusaurus.config.js) - Custom Link Component (
src/components/Link.js): Automatically appends UTM parameters to external links - Screenshot Component (
src/components/Screenshot.js): Wrapper for images with browser window styling - BrowserWindow Component: Visual component for displaying screenshots in a browser-like frame
- Search: Local search powered by
docusaurus-lunr-searchwith multi-language support - Mermaid Diagrams: Built-in support for rendering Mermaid diagrams
- Code Highlighting: Prism-based syntax highlighting with support for multiple languages
- Google Analytics: Integrated with gtag for tracking
- Configured for GitHub Pages deployment with automatic builds via GitHub Actions
- Base URL and organization name are configurable in
docusaurus.config.js