Official documentation site for Unreal Solutions plugins, built with VitePress.
- Node.js 18+
- npm or yarn
# Install dependencies
npm install
# Start dev server
npm run docs:dev
# Build for production
npm run docs:build
# Preview production build
npm run docs:previewThe dev server will be available at http://localhost:5173
.
├── docs/ # Documentation source
│ ├── .vitepress/
│ │ └── config.mts # VitePress configuration
│ ├── index.md # Home page
│ ├── download.md # Download page
│ └── products/
│ └── runtime-video-recorder/
│ ├── index.md # RVR home
│ ├── installation.md
│ ├── quick-start.md
│ └── api/ # API reference
├── assets/ # Static assets (shared with main site)
├── index.html # Main marketing site
├── download.html # Download page
└── package.json # Dependencies
VitePress configuration is in docs/.vitepress/config.mts:
- Site metadata
- Navigation menu
- Sidebar structure
- Theme customization
- Create directory:
docs/products/your-product/ - Add to sidebar in
docs/.vitepress/config.mts - Create
index.mdand other pages - Update navigation if needed
Create a .md file in the appropriate directory and add it to the sidebar config.
The site automatically deploys to GitHub Pages via GitHub Actions when you push to main.
Workflow: .github/workflows/deploy.yml
The deployment:
- Builds VitePress docs
- Copies existing HTML pages (index.html, download.html, etc.)
- Copies assets folder
- Deploys to GitHub Pages
The site combines VitePress documentation with existing HTML pages:
/- Marketing homepage (index.html)/docs/*- VitePress documentation (built fromdocs/)/download- Download page (download.html)/recorders- Recorders comparison (recorders.html)/assets/*- Shared assets
- VitePress - Documentation framework
- Vue 3 - Component framework
- Vite - Build tool
- GitHub Pages - Hosting
- GitHub Actions - CI/CD
VitePress supports:
- Standard Markdown
- GitHub Flavored Markdown (GFM)
- Custom containers (tip, warning, danger)
- Code syntax highlighting
- Mermaid diagrams
- LaTeX math
# Page Title
## Section
Regular content with **bold** and *italic*.
### Code Example
```cpp
void MyFunction() {
// C++ code with syntax highlighting
}
```
::: tip
This is a tip container
:::
::: warning
This is a warning
:::
::: danger
This is a danger/error message
:::To add or update documentation:
- Clone the repository
- Create a branch
- Make your changes
- Test locally with
npm run docs:dev - Submit a pull request
- Discord: discord.gg/wptvWkhtGm
- Email: [email protected]
- Website: unrealsolutions.com
© 2025 Unreal Solutions Ltd. All rights reserved.