| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 6 个月前 | ||
| 1 年前 | ||
| 2 年前 |
Luanti API Documentation Generator
Building HTML files from the API reference
Setup
Use bash. Windows users may try "Git Bash".
# New virtual environment
python3 -m venv venv
# Note: This changes $PATH of the current shell
source venv/bin/activate
pip install -r requirements.txt
Building
# Such that "mkdocs" can be found within the venv
source venv/bin/activate
./build.sh
See also: https://www.mkdocs.org/user-guide/cli/
Output directories:
- Markdown files:
doc/mkdocs/docs/ - HTML (for browsers):
public/index.html