We recommend new contributors start from writing documentation, which helps you quickly understand SGLang codebase.
Most documentation files are located under the docs/ folder.
apt-get update && apt-get install -y pandoc parallel retry
pip install -r requirements.txtYou 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 english version
bash ./build.sh en
bash ./serve.sh en
# build chinese version
bash ./build.sh zh
bash ./serve.sh zhYou can then visit http://localhost:8000 to view the documentation.