Source for docs.eez.io, the specification of the EEZ core protocol contracts, built with Vocs.
The pages come from the docs/ folder of eez-core-protocol. To change a page, edit it there. This repo syncs it in and adds the site layout.
npm install
npm run devgit clone --depth 1 https://github.com/eez-association/eez-core-protocol /tmp/core
node scripts/sync-docs.mjs /tmp/core "$(git -C /tmp/core rev-parse --short HEAD)" src/pagesThe synced commit is saved in src/sync.json.
Pushing to main deploys to GitHub Pages. Pull requests build the site and check its links. The build also renders a preview image for each page, used when a link is shared.