This repository contains the professional documentation for OpenHW Studio, built using VitePress. It provides comprehensive guides on hardware simulation, autograding architecture, and system deployment.
To run the documentation server locally:
- Navigate to this directory.
- Install dependencies:
npm install
- Start the development server:
npm run docs:dev
- Open your browser to http://localhost:5174.
To generate the static site for production:
npm run docs:buildThe optimized static assets will be located in the .vitepress/dist directory.
This portal is configured for unified deployment with the OpenHW Studio Frontend.
- CI/CD Integration: The main frontend GitHub Action clones this repository during the build process.
- Dockerized Hosting: The portal is served via Nginx as a sub-path at
/docs/within the frontend container. - Base Configuration: The
basepath is set to/docs/in.vitepress/config.mtsto ensure all assets resolve correctly in production.
- Structure: Add or edit
.mdfiles in the respective category folders (architecture,guides,grading,telemetry, etc.). - Sidebar: Update
.vitepress/config.mtsto reflect changes in the navigation menu or sidebar hierarchy. - Professionalism Policy: Refrain from using graphical emojis. Use professional text-based identifiers (e.g.,
[PASS],[OK],[WARN],[FAIL]) to maintain a consistent enterprise aesthetic.
© 2024-present OpenHW Studio Team