mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
improve docs
This commit is contained in:
parent
fa65f960e3
commit
7acd6c0992
2 changed files with 36 additions and 0 deletions
34
docs/contributing.md
Normal file
34
docs/contributing.md
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
## Contributing to Documentation
|
||||||
|
Clone litellm
|
||||||
|
```
|
||||||
|
git clone https://github.com/BerriAI/litellm.git
|
||||||
|
```
|
||||||
|
|
||||||
|
### Local setup for locally running docs
|
||||||
|
|
||||||
|
#### Installation
|
||||||
|
```
|
||||||
|
pip install mkdocs
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Locally Serving Docs
|
||||||
|
```
|
||||||
|
mkdocs serve
|
||||||
|
```
|
||||||
|
If you see `command not found: mkdocs` try running the following
|
||||||
|
```
|
||||||
|
python3 -m mkdocs serve
|
||||||
|
```
|
||||||
|
|
||||||
|
This command builds your Markdown files into HTML and starts a development server to browse your documentation. Open up [http://127.0.0.1:8000/](http://127.0.0.1:8000/) in your web browser to see your documentation. You can make changes to your Markdown files and your docs will automatically rebuild.
|
||||||
|
|
||||||
|
[Full tutorial here](https://docs.readthedocs.io/en/stable/intro/getting-started-with-mkdocs.html)
|
||||||
|
|
||||||
|
### Making changes to Docs
|
||||||
|
- All the docs are placed under the `docs` directory
|
||||||
|
- If you are adding a new `.md` file or editing the hierarchy edit `mkdocs.yml` in the root of the project
|
||||||
|
- After testing your changes, make a change to the `main` branch of [github.com/BerriAI/litellm](https://github.com/BerriAI/litellm)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,5 +11,7 @@ nav:
|
||||||
- 💡 Support:
|
- 💡 Support:
|
||||||
- Troubleshooting & Help: troubleshoot.md
|
- Troubleshooting & Help: troubleshoot.md
|
||||||
- Contact Us: contact.md
|
- Contact Us: contact.md
|
||||||
|
- Contributing:
|
||||||
|
- Contributing to liteLLM: contributing.md
|
||||||
|
|
||||||
theme: readthedocs
|
theme: readthedocs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue