mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 19:04:19 +00:00
instructions on contributing to readthedocs
This commit is contained in:
parent
4d60ab8531
commit
8927da6566
1 changed files with 13 additions and 0 deletions
|
@ -12,6 +12,19 @@ We actively welcome your pull requests.
|
||||||
5. Make sure your code lints.
|
5. Make sure your code lints.
|
||||||
6. If you haven't already, complete the Contributor License Agreement ("CLA").
|
6. If you haven't already, complete the Contributor License Agreement ("CLA").
|
||||||
|
|
||||||
|
### Building the Documentation
|
||||||
|
|
||||||
|
If you are making changes to the documentation at [https://llama-stack.readthedocs.io/en/latest/](https://llama-stack.readthedocs.io/en/latest/), you can use the following command to build the documentation and preview your changes. You will need [Sphinx](https://www.sphinx-doc.org/en/master/) and the readthedocs theme.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd llama-stack/docs
|
||||||
|
pip install -r requirements.txt
|
||||||
|
pip install sphinx-autobuild
|
||||||
|
|
||||||
|
# This will start a local server (usually at http://127.0.0.1:8000) that automatically rebuilds and refreshes when you make changes to the documentation.
|
||||||
|
sphinx-autobuild source build/html
|
||||||
|
```
|
||||||
|
|
||||||
## Contributor License Agreement ("CLA")
|
## Contributor License Agreement ("CLA")
|
||||||
In order to accept your pull request, we need you to submit a CLA. You only need
|
In order to accept your pull request, we need you to submit a CLA. You only need
|
||||||
to do this once to work on any of Meta's open source projects.
|
to do this once to work on any of Meta's open source projects.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue