Voiden Documentation

November 1, 2025 ยท View on GitHub

Official documentation for the Voiden platform, built with Docusaurus.

Node.js Docusaurus

๐Ÿ“– Table of Contents

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18.0 or above (Download)
  • npm or yarn package manager

Installation & Development

# 1. Clone the repository (if you haven't already)
git clone https://github.com/VoidenHQ/docs.git
cd docs

# 2. Install dependencies
npm install

# 3. Start the development server
npm start

The site will open at http://localhost:3000/. Changes are hot-reloaded automatically.

Build & Preview

# Build for production
npm run build

# Preview the production build locally
npm run serve

๐Ÿ“ Project Structure

voiden-docs/
โ”œโ”€โ”€ docs/                          # ๐Ÿ“ Documentation source files (Markdown/MDX)
โ”‚   โ”œโ”€โ”€ getting-started/
โ”‚   โ”œโ”€โ”€ guides/
โ”‚   โ””โ”€โ”€ intro.md
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ css/
โ”‚   โ”‚   โ””โ”€โ”€ custom.css            # ๐ŸŽจ Custom styles (Voiden theme)
โ”‚   โ”œโ”€โ”€ pages/                    # โš›๏ธ  Custom React pages
โ”‚   โ”‚   โ””โ”€โ”€ index.tsx             # Homepage
โ”‚   โ””โ”€โ”€ components/               # ๐Ÿงฉ Reusable React components
โ”œโ”€โ”€ static/                       # ๐Ÿ“ฆ Static assets (images, files)
โ”‚   โ””โ”€โ”€ img/
โ”œโ”€โ”€ docusaurus.config.ts          # โš™๏ธ  Main site configuration
โ”œโ”€โ”€ sidebars.ts                   # ๐Ÿ“‘ Sidebar navigation structure
โ””โ”€โ”€ package.json                  # ๐Ÿ“‹ Dependencies and scripts

๐Ÿค Contributing

We welcome contributions! Please see CONTRIBUTING.md for detailed guidelines on:

  • How to add or edit documentation
  • Code style and formatting
  • Submitting pull requests
  • Reporting issues

Quick Contribution Guide

  1. Fork and clone the repository
  2. Create a branch: git checkout -b feature/your-feature-name
  3. Make your changes in the docs/ folder
  4. Test locally: npm start
  5. Commit: git commit -m "Add: your change description"
  6. Push: git push origin feature/your-feature-name
  7. Open a Pull Request on GitHub

๐Ÿ’ป Development Workflow

Adding New Documentation

  1. Create a new .md or .mdx file in the appropriate docs/ subfolder
  2. Add frontmatter at the top:
    ---
    id: my-doc-id
    title: My Document Title
    sidebar_label: Short Label
    sidebar_position: 1
    ---
    
  3. Write your content using Markdown or MDX
  4. Update sidebars.ts if needed (usually auto-generated)

Editing Existing Docs

Simply edit the Markdown files in docs/ - changes will hot-reload instantly.

Working with Images

<!-- Place images in static/img/ -->
![Alt text](/img/my-image.png)

<!-- Or use relative paths -->
![Alt text](./images/my-image.png)

๐ŸŽจ Styling & Theming

The site features a custom Voiden brand theme with:

  • Fonts: Source Sans 3 (body text), JetBrains Mono (code blocks)
  • Color Palette:
    • Dark theme: Soft dark backgrounds with refined accent colors
    • Light theme: Warm off-white backgrounds
    • Brand colors: Teal (#22d3ee), Purple (#a78bfa), Pink (#f472b6)
  • Features: Dark/light mode toggle, responsive design, syntax highlighting

Customizing Styles

Edit src/css/custom.css to modify:

  • Color variables (:root and [data-theme='light'])
  • Typography and fonts
  • Component styles (buttons, cards, navigation)
  • Custom utility classes

๐Ÿš€ Deployment

Build for Production

npm run build

This generates static content into the build/ directory that can be served by any static hosting service.

Deployment Options

  • GitHub Pages: See Docusaurus deployment docs
  • Vercel: Connect your GitHub repo and deploy automatically
  • Netlify: Drag & drop the build/ folder or connect via Git
  • Custom Server: Serve the build/ folder with any web server

๐Ÿ“š Resources

๐Ÿ“„ License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Copyright ยฉ 2025 ApyHub

๐Ÿ™‹ Support


Made with โค๏ธ by the Voiden team