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
docsdirectory - Blog posts are placed under the
blogdirectory - If you are adding a new
.mdfile or editing the hierarchy, check whethersidebars.jsneeds 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.