镜像自地址
https://github.com/JGZYES/ParlzPackageManger.git
已同步 2026-09-11 08:52:45 +08:00
- New minimal index.php: brand hero (+ rotating Earth canvas) + entry cards to docs; no multi-page nav. - New web/docs/ Markdown site: docs/index.php renders sibling .md via the shared md() renderer (moved into _common.php). Pages: index/install/download/features/ cli/mirror/translate/source. - _common.php: slim nav (首页/文档), add md(), keep PMM_VERSION + layout. - Delete old multi-pages (features/install/download/servers/source/git/translate) and the release/asset serving (releases/, downloads/, root install.sh, status.php). Keep web/mirror/ (package registry + lang packs) so the pmm CLI and docs download links (GitHub Release) still work. - assets/style.css: add docs styling. mirror/index.php: fix deprecation. - Fix docs install/download links to point at GitHub Release (releases/ removed). Verified: php -l passes for _common/index/docs/mirror; homepage (globe+hero), docs pages and mirror render via the PHP built-in server; no stale references to deleted pages / releases / downloads / status remain.
23 行
766 B
Markdown
23 行
766 B
Markdown
# 源码
|
||
|
||
PMM 是开源项目(GPL-3.0)。
|
||
|
||
- **GitHub 仓库**:[JGZYES/ParlzPackageManger](https://github.com/JGZYES/ParlzPackageManger)
|
||
- **GitHub Releases**:[releases](https://github.com/JGZYES/ParlzPackageManger/releases)
|
||
- **提交 Issue / PR**:[issues](https://github.com/JGZYES/ParlzPackageManger/issues)
|
||
|
||
## 构建
|
||
|
||
需要 C11 编译器 + 静态链接环境:
|
||
|
||
```bash
|
||
# Linux
|
||
gcc -O2 -Wall -static -std=c11 -o pmm \
|
||
src/main.c src/json.c src/ini.c src/pmm.c src/http.c src/repo.c \
|
||
src/install.c src/sha256.c src/sha1.c src/mirrors.c src/pdm.c src/out.c src/i18n.c
|
||
```
|
||
|
||
## 文档规范
|
||
|
||
界面文案、`.pjson` 语言包键名、版本 banner 等遵循 [STANDARD.md](https://github.com/JGZYES/ParlzPackageManger/blob/main/docs/STANDARD.md)。
|