| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Source for the official Unraid documentation site.
Explore the docs »
View Site
·
Report Bug
·
Request Content
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.
Follow these steps to work on the docs locally.
Install or update Node with nvm:
nvm install --lts
nvm useClone the repo
git clone https://github.com/unraid/docs.git
cd docsInstall dependencies
corepack enable
pnpm installThis repo includes a VS Code dev container for contributors who want a local environment that closely matches the GitHub Actions Ubuntu/Node/pnpm setup.
To use it:
The container uses the Node.js version from .nvmrc, enables Corepack/pnpm, installs repo dependencies, forwards the Docusaurus dev server on port 3001, and includes useful CLI tools such as git, gh, jq, ripgrep, nvi, shellcheck, and actionlint.
Once the container is ready, see Usage for local development commands.
VS Code Dev Containers can share host Git credentials with the container. See Sharing Git credentials with your container for SSH agent and credential-helper setup. GitHub CLI authentication is separate; run gh auth login inside the container if you need authenticated gh commands. The container stores GitHub CLI config in a Docker named volume (gh-config) so gh authentication can persist across dev container rebuilds and can be shared with other dev containers on the same Docker engine.
Spin up a local Docusaurus dev server:
pnpm startThe local docs dev server listens on http://localhost:3001 by default. This keeps local iframe/embed testing aligned with iframe-test.html and other localhost examples in the repo.
Preview specific locales (one at a time):
pnpm start -- --locale zh
pnpm start -- --locale esRun Docusaurus lint/build checks:
pnpm lintAdditional project scripts:
The docs search index is refreshed by the GitHub Actions workflow at .github/workflows/algolia-reindex.yml.
That workflow matches the current Algolia Crawler API flow for this site:
The workflow runs automatically on main when published docs content changes, and it can also be started manually with Actions > Algolia Reindex > Run workflow.
To enable it in GitHub, create these repository secrets:
You can find both in the Algolia dashboard under Data sources > Crawler > Settings.
Optional repository variables:
The workflow does not need the standard ALGOLIA_API_KEY secret. Reindexing uses the crawler-specific credentials above.
Forked pull requests do not get native Cloudflare preview builds, so this repo uses a two-workflow GitHub Actions flow for untrusted contributions:
This keeps Cloudflare secrets out of the untrusted PR build while still producing a stable preview URL at https://pr-<number>.<project>.pages.dev.
Set these before enabling the workflows:
Recommended setup:
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:
Help translate Unraid Docs for the global community.
Crowdin suggestions are reviewed regularly by maintainers and native-language contributors.
© 2024 Lime Technology, Inc. All rights reserved. See the Unraid Legal Terms for usage guidelines.
Need help? Open an issue on GitHub or reach us via unraid.net/contact.
Project Link: https://github.com/unraid/docs
| Back | FazBrowse Home | New Git URL |