- HTML 47.1%
- SCSS 44.6%
- Dockerfile 2.9%
- JavaScript 2.8%
- Python 1.2%
- Other 1.4%
developer assistant This commit introduces a new AI system prompt file that defines the role, context, and constraints for the Unitoo Website Developer Assistant. The prompt establishes guidelines for Jekyll 4 development, bilingual content handling, asset pipelines, and build workflows specific to the project. |
||
|---|---|---|
| .ai | ||
| .claude | ||
| .devcontainer | ||
| scripts | ||
| src | ||
| .gitignore | ||
| .nvmrc | ||
| .ruby-version | ||
| _config.yml | ||
| CLAUDE.md | ||
| COPYING | ||
| Dockerfile | ||
| Gemfile | ||
| Gemfile.lock | ||
| Makefile | ||
| README.md | ||
| sws.toml | ||
unitoo-site
New Unitoo website based on Jekyll 4.
Quick start
make serve # dev server at localhost:4000
make build # production build → _site/
The first run requires bundle install (Ruby 3.3.11) and npm i -g terser (Node 22).
A .devcontainer/ is provided for a reproducible toolchain — see .devcontainer/README.md.
How to contribute
Edit pages in src/_pages/*.html, translations in src/_i18n/{it,en}.yml. After
adding tags to a page, run make tag-pages to regenerate src/tag/*.html stubs
and add matching meta.titles.tags.<tag> / meta.descriptions.tags.<tag> keys
to both locale files.
The Jekyll source lives under src/ (configured via source: src in
_config.yml); root-level files are build/repo metadata only. See CLAUDE.md
for the full architecture overview.
Build & deploy
make prod_build # docker buildx multi-arch + push to git.unitoo.it/unitoo/website:latest
prod_build depends on buildx-init, which idempotently creates a multiarch
buildx builder (docker-container driver) the first time — required because the
default docker driver does not support multi-platform builds. Multi-arch
emulation also requires qemu-user + qemu-user-binfmt registered on the host
(via binfmt-support on Ubuntu).
The Dockerfile is multi-stage: it builds Jekyll inside the image and ships only
the static _site/ via static-web-server.