Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 845 Bytes

File metadata and controls

31 lines (21 loc) · 845 Bytes

slime Documentation

We recommend new contributors start from writing documentation, which helps you quickly understand SGLang codebase. Most documentation files are located under the docs/ folder.

Docs Workflow

Install Dependency

apt-get update && apt-get install -y pandoc parallel retry
pip install -r requirements.txt

Update Documentation

You can update the documentation in the en and zh folders by adding Markdown or Jupyter Notebook files to the appropriate subdirectories. If you create new files, make sure to update index.rst (or any other relevant .rst files) accordingly.

Build and Render

# build english version
bash ./build.sh en
bash ./serve.sh en

# build chinese version
bash ./build.sh zh
bash ./serve.sh zh

You can then visit http://localhost:8000 to view the documentation.