Skip to content

VoidenHQ/docs

Repository files navigation

Voiden Documentation

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

About

Voiden Docs

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •