README.md
xly Wiki
A developer / module-builder wiki for the xly (小羚羊) printing-industry ERP framework.
Built with MkDocs Material.
Markdown source under docs/; static HTML generated to site/ (gitignored).
What's here
xly-wiki/
├── docs/ ← markdown source — edit these
│ ├── index.md
│ ├── concepts/ (mental model)
│ ├── slices/ (vertical, end-to-end worked examples)
│ ├── reference/builder/ (recipes for PMs)
│ ├── reference/maintainer/ (internals for Java devs)
│ ├── auto-catalog/ ← machine-generated; do not hand-edit
│ ├── glossary.md
│ └── contributing.md
├── scripts/
│ ├── gen_catalog.py ← regenerates Auto-Catalog from recon/*.tsv
│ └── precommit.sh ← optional git hook
├── mkdocs.yml
├── requirements.txt
├── .github/workflows/publish.yml (GitHub Actions: builds + publishes site/)
└── .venv/ ← gitignored Python venv
Quick start
source .venv/bin/activate # if .venv missing: python3 -m venv .venv && pip install -r requirements.txt
mkdocs serve # http://127.0.0.1:8000 with live reload
Publishing
The repo is initialised but not yet pushed to a remote. To publish:
git remote add origin <your-remote-url>
git push -u origin main
CI configs are included for both hosts — push to whichever you use:
-
GitLab:
.gitlab-ci.ymlbuilds and publishes to GitLab Pages on every push to the default branch. Enable Pages in Project → Settings → Pages. -
GitHub:
.github/workflows/publish.ymlbuilds and publishes to GitHub Pages. Enable in Settings → Pages → Source: GitHub Actions.
The unused config can stay — it's harmless and keeps the wiki portable between hosts.
Out-of-scope
- The B2B printing-platform layer (
plat_*tables,xlyPlat*modules). - AI / LLM features (
ai_*tables,AiController). - Face recognition (
xlyFace). - Per-tenant schema drift between
xlyweberp_*databases.
See also
-
../recon/REPORT.md— Phase 0 recon report (the design doc this wiki implements). -
../recon/*.tsv— offline schema reference (consumed byscripts/gen_catalog.py). -
../xly/— the codebase this wiki documents.