This documentation site uses VitePress. Content is written in Markdown and lives in the docs/ directory.
Install dependencies:
npm installStart the development server with hot reload:
npm run docs:devThe site will be available at http://localhost:5173 by default.
- Create a new
.mdfile underdocs/. - Add a front matter block with a
title:
---
title: My New Page
---
# My New Page
Your content here.- Link the page from
docs/.vitepress/config.mjsby adding it to the appropriate sidebar section. - Verify the page renders locally with
npm run docs:dev.
Before submitting changes, confirm the production build succeeds:
npm run docs:build
npm run docs:previewThe build output is placed in docs/.vitepress/dist/.
- Sentence case for headings. Use "Quick start", not "Quick Start".
- Write for the reader. Start each guide with what the reader will accomplish and what they need first.
- Keep examples copy-pasteable. Provide complete commands and include placeholders like
<your-token>where sensitive data belongs. - No real credentials. Never include real Plex tokens, server addresses, or user metadata in examples or screenshots.
- Use relative links for internal pages. For example, use
/guide/quick-startor../reference/instead of absolute URLs. - Prefer the
X-Plex-Tokenheader. Do not show tokens as query parameters unless the example specifically explains query-parameter usage. - One sentence per line in source Markdown. This makes diffs easier to read and review.
- Use American English spelling and avoid jargon where possible.
- Check the build.
npm run docs:buildvalidates internal links; dead links will fail CI.
- Open a pull request with a clear summary of the change.
- Ensure the CI check
docs:buildpasses. - Address reviewer feedback and keep the scope focused.