vllm/docs/README.md

44 lines
684 B
Markdown
Raw Permalink Normal View History

2023-06-17 03:07:40 -07:00
# vLLM documents
2023-05-22 17:02:44 -07:00
## Build the docs
- Make sure in `docs` directory
```bash
cd docs
```
- Install the dependencies:
2023-05-22 17:02:44 -07:00
```bash
pip install -r ../requirements/docs.txt
```
- Clean the previous build (optional but recommended):
2023-05-22 17:02:44 -07:00
```bash
2023-05-22 17:02:44 -07:00
make clean
```
- Generate the HTML documentation:
```bash
2023-05-22 17:02:44 -07:00
make html
```
2023-06-29 14:52:15 +01:00
## Open the docs with your browser
2023-05-22 17:02:44 -07:00
- Serve the documentation locally:
2023-05-22 17:02:44 -07:00
```bash
2023-06-02 22:35:17 -07:00
python -m http.server -d build/html/
2023-05-22 17:02:44 -07:00
```
This will start a local server at http://localhost:8000. You can now open your browser and view the documentation.
If port 8000 is already in use, you can specify a different port, for example:
```bash
python -m http.server 3000 -d build/html/
```