Table of Contents
About The Project
This repository powers the public Unraid Docs site. It contains source content, UI components, and supporting scripts that help the Unraid team publish accurate, localized, and accessible documentation for Unraid OS and connected services.
The documentation site is built on Docusaurus 3, rendered as a static site, and deployed via GitHub Pages. Remark-based linting, Crowdin integrations, and automated formatting scripts keep Markdown/MDX contributions consistent across the project.
Built With
Getting Started
Follow these steps to work on the docs locally.
Prerequisites
- Node.js 18 or newer (see the
package.jsonenginesfield) - npm (ships with Node.js)
- Recommended: nvm for managing Node versions
Install or update Node with nvm:
nvm install --lts nvm use
Installation
-
Clone the repo
git clone https://github.com/unraid/docs.git cd docs -
Install dependencies
Usage
Spin up a local Docusaurus dev server:
Preview specific locales (one at a time):
npm run start -- --locale zh npm run start -- --locale es
Lint Markdown and MDX content with Remark (no auto-fixers run now):
npm run lint # report issues npm run lint -- --frail # optional: fail on warnings (CI default)
Normalize Crowdin-specific spacing (this is all npm run format does now):
Additional project scripts:
- Type check TypeScript:
npm run typecheck - Unit tests (watch):
npm run test - Single test run (CI):
npm run test:run - Build production site:
npm run build - Preview production build:
npm run serve
Contributing
New to the docs? Start with the contributor Style Guide for voice, formatting, and workflow expectations. It covers terminology, MDX conventions, screenshots, and review tips.
Once you're comfortable with the guidelines, typical workflow looks like:
- Fork the project
- Create a feature branch (
git checkout -b docs/your-change) - Run
npm run lintandnpm run formatbefore committing - Commit with a clear message (
git commit -m "docs: describe change") - Push to your fork and open a pull request against
main
Top contributors
Localization
Help translate Unraid Docs for the global community.
- Join the project on Crowdin: unraid.crowdin.com/unraid-docs
- Follow the glossary and tone guidance in the Style Guide
- Run Crowdin formatting before submitting source updates:
npm run format(ornpm run format:crowdin)
Crowdin suggestions are reviewed regularly by maintainers and native-language contributors.
License
© 2024 Lime Technology, Inc. All rights reserved. See the Unraid Legal Terms for usage guidelines.
Contact
Need help? Open an issue on GitHub or reach us via unraid.net/contact.
Project Link: https://github.com/unraid/docs
