README.md 585 Bytes
Newer Older
Lianmin Zheng's avatar
Lianmin Zheng committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# SGLang Documentation

## Build the documentation website

### Dependency
```
pip install -r requirements.txt
```

### Build
```
make html
```

### Clean
To remove all generated files:
```
make clean
```

### Serve (preview)
Run an HTTP server and visit http://localhost:8000 in your browser.
23

Lianmin Zheng's avatar
Lianmin Zheng committed
24
25
26
27
28
29
30
31
32
33
34
```
python3 -m http.server --d _build/html
```

### Deploy
Clone [sgl-project.github.io](https://github.com/sgl-project/sgl-project.github.io) and make sure you have write access.

```bash
export DOC_SITE_PATH=../../sgl-project.github.io   # update this with your path
python3 deploy.py
```