DOCUMENTATION.md
The project documentation lives in docs/ and uses Docusaurus 3 with pnpm.
cd docs
# Install dependencies
pnpm install
# Local dev server with hot reload
pnpm start
# Production build
pnpm build
docs/docs/ — Current (next) version of docs, auto-generates sidebar from folder structure
docs/docs/usage/ — "Using RestSharp" guides (basics, client, request, execute, response, example)docs/docs/advanced/ — Advanced topics (authenticators, configuration, serialization, interceptors, error handling)docs/docs/intro.md — Getting started pagedocs/docs/changelog.md — Release changelogdocs/versioned_docs/ — Frozen snapshots for past versions (v110–v113)docs/versioned_sidebars/ — Sidebar configs for each frozen versiondocs/versions.json — List of released doc versionsdocs/src/pages/ — Standalone pages (migration guide, support)docs/docusaurus.config.ts — Site config (URL, navbar, footer, plugins, versioning)docs/sidebars.ts — Sidebar config (autogenerated from directory structure)Docs use Docusaurus versioned docs. docs/docs/ is the "next" (unreleased) version. To cut a new version: pnpm docusaurus docs:version vXXX. This copies docs/docs/ into versioned_docs/version-vXXX/ and creates a matching sidebar file. Update docusaurus.config.ts to add the new version label.
sidebar_position, title, sidebar_label)_category_.json files in each directorycsharp language identifier for syntax highlightingdocs/docs/; do not modify versioned_docs/ unless backporting fixes