Skip to main content

Contributing to Documentation

This website is built using Docusaurus 3, a modern static website generator.

Clone the docs repo:

git clone https://github.com/BerriAI/litellm-docs.git
cd litellm-docs

Local setup for locally running docs​

Install dependencies:

npm install

Run the docs site locally:

npm start

Open docs here: http://localhost:3000/.

Making changes to Docs​

  • All the docs are placed under the docs directory
  • Blog posts are placed under the blog directory
  • If you are adding a new .md file or editing the hierarchy, check whether sidebars.js needs to be updated

Verify your changes​

Before opening a PR, run:

npm run build

After testing your changes, open a pull request against github.com/BerriAI/litellm-docs.

🚅
LiteLLM Enterprise
SSO/SAML, audit logs, spend tracking, multi-team management, and guardrails — built for production.
Learn more →