Documentation

Distribution

Distribution builds are reproducible, scripted and scanned for secrets and personal paths.

Build#

python scripts/build_distribution.py --edition all --version 1.0.0

Outputs:

  • dist/zephai-dakidarts-1.0.0.zip
  • dist/zephai-codester-1.0.0.zip
  • dist/zephai-demo-1.0.0.zip

What changes per edition#

  • Edition marker in config/edition.py.
  • Codester/demo remove apps/licensing, license templates, urls, middleware, context processor and enforcement settings.
  • Demo sets ZEPHAI_ENV=demo and includes the read-only banner.
  • The build fails on personal server paths, private keys or license terms in a Codester archive.

Customer manual#

python scripts/build_documentation.py regenerates this site. Set ZEPHAI_EDITION=codester before building a Codester manual; the licensing page is pruned.

Release checklist#

  1. Bump ZEPHAI_VERSION.
  2. Run the full test suite and audits.
  3. Build docs and all archives.
  4. Unzip each archive in a clean directory, create a venv, migrate and boot.
  5. Verify no secrets, db.sqlite3, .venv, logs or media are present.
  6. Tag the commit and push.