The Contrast flake contains a development shell for working on the documentation.
It's automatically activated when you are using direnv. Otherwise enter the environment with:
nix develop .#docsRun a local development server previewing your changes with:
yarn startBrowse to http://localhost:3000/contrast and choose the "Next" version in the top right.
- PR preview Created by
docs_publishon PR. This will build the website and push it to the/pr-previewdirectoryof thegh-pagesbranch. - Publishing Deployed by
docs_publishon push to main. This will build the website and push it to thegh-pagesbranch. - Actual deployment happens through a GitHub controlled action.
- Release versioning happens as part of the release workflow
Check out the latest deployments (both main and PR preview).
Here is how you can modify and rebuild the attestation graphics.
Requirements:
- Edit the ASCII art
- Render the SVG with goat: `goat -i .txt -o .svg
- Export text to path with inkscape:
inkscape <graphic>.svg -o --export-plain-svg=attestation-pod.svg --export-text-to-path