dreamstop.openfp.net, the website and user manual of dreamstop, a language for continuous disambiguation
git clone git@nixlab.openfp.net:web/dreamstop.openfp.net.gitBuilding dreamstop.openfp.net
The page's package lives in dreamstop-openfp-net-web/, with the flake, stylesheet, images, manual and annotated prose at the top level.
Build, serve and check
Run these in the repository root.
nix build
builds the served directory into result/: index.html, the client bundle site.js and its .gz, the kit's static files and fonts under design-kit/, dreamstop.css, dreamstop.svg, og.png, and the user manual under manual/ as index.html and dreamstop.pdf. Nothing built is committed.
nix build .#manual
builds only the manual. Its source is manual/dreamstop.vx, in Inkwell. The build renders it to Typst with inkwell-render from the pinned inkwell-dsl input and compiles the Typst to PDF and HTML.
nix run .#serve
serves that directory on http://127.0.0.1:8000/.
nix flake check
runs the kit's checks on the page (render, CSP, links, reading without JavaScript, hydrate, bundle, card, pins and generated files), with the page's own expected links, text and preview tags. It also runs these:
manual-sayschecks that the manual does not mention Ithkuil or Quijada.card-copychecks that the card says the tagline and showsdreamstop.svg. The package must build under werrorwolf, and the Nix must be formatted.
packages.<system>.default, design-kit-miso, manual and dreamstop-openfp-net-web too.
nix develop gives a shell with cabal and node for the package.
Regenerating the Horizon files
horizon.vx declares what the page needs beyond the horizon-javascript package set for GHC 10. cabal.project, horizon.lock and nix/horizon/ are generated from it by horizon-gen-nix 0.35.0.0 and are not edited by hand. After changing horizon.vx or the package's .cabal file, run this in the repository root:
nix run 'git+https://nixlab.openfp.net/horizon/horizon-gen-nix?ref=refs/tags/0.35.0.0' -- horizon.vx