- HTML 61.3%
- CSS 31.9%
- JavaScript 5.5%
- Shell 1.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Deploy to origin / deploy (push) Successful in 2s
Same website-id, dual-served old+new; history preserved. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
| .forgejo/workflows | ||
| ci | ||
| css | ||
| img | ||
| js | ||
| next | ||
| .gitignore | ||
| CLAUDE.md | ||
| index.html | ||
| LICENSE | ||
| pubkey.pem | ||
| README.md | ||
| reference.html | ||
ZDDC website
Hand-edited content for zddc.varasys.io. Two files:
index.html— landing page + install snippets.reference.html— the ZDDC file-naming convention specification.
Plus css/, js/, img/ for shared styles and assets.
This repo intentionally does not contain release artifacts. The
ZDDC tools (archive, browse, landing) and the zddc-server
binary are built from the source repo at
https://codeberg.org/VARASYS/ZDDC and deployed to the live site by
its release pipeline. They live on the origin host under
/var/www/zddc/releases/, never in this repo's git history.
Preview locally
git clone https://codeberg.org/VARASYS/ZDDC-website
cd ZDDC-website
python3 -m http.server 8000
# open http://localhost:8000/
The preview won't have a /releases/ directory unless you also have
the source repo and run its build pipeline. That's expected — the
two repos are intentionally decoupled.
Publishing
.forgejo/workflows/deploy.yml runs ci/deploy.sh on every push to
main, which publishes the repo content into /var/www/zddc/ on the
origin host over sftp (the origin LXC has neither rsync nor tar).
It stages a copy, drops /.git*, /.forgejo*, /ci, /README.md,
/LICENSE, and /releases/, then wipes the web root except
/releases/ and uploads — so anything else added at the repo root
will be published. /releases/ is owned by the ZDDC source repo's
pipeline and is left untouched.
Editing notes
js/layout.jsqueries the header for.header-nav,.dropdown,.dropdown-toggle,.dropdown-menu, and.theme-toggle. Both HTML pages need to keep those classes or the theme toggle and Tools dropdown silently break.- Page-specific CSS goes in an inline
<style>in<head>(seeindex.html); only shared rules go incss/style.css. Design tokens (--color-accent, spacing scale, etc.) live at the top ofcss/style.css— prefer those over hardcoded values.
Contributing
Issues + PRs welcome. For changes to the tool source code (not the website), file them at https://codeberg.org/VARASYS/ZDDC.