Documentation for XiangShan Design
We are using Weblate to translate this documentation into English and other languages. Your contributions are welcome — come and help us improve it!
The original language of this document is Chinese. An English translation is currently in progress.
We use Pandoc and MkDocs to build the document.
Pandoc is used to build PDF and single-page HTML documents.
# Install dependencies
bash ./utils/dependency.sh
# Build PDF
make pdf
# Build PDF for print
make pdf TWOSIDE=1
# Build HTML (not ready)
make html
# Build default format (PDF)
makeMkDocs is used to build and deploy a static website on the internet
# Create and Activate Python Virtual Environments (Recommended)
python3 -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -r ./utils/requirements.txt
# Preview the website
mkdocs serve -f mkdocs-zh.yml
# Build the website
mkdocs build -f mkdocs-zh.ymlThis document is licensed under CC BY 4.0.
Copyright © 2024 The XiangShan Team, Beijing Institute of Open Source Chip