Source of the documentation site at https://jmltoolkit.github.io. The site is built with Hugo (extended) and the Hextra theme, which is pulled in as a Hugo module.
- Hugo extended 0.156 or newer
- Go 1.26 or newer (for Hugo modules)
- Git
git clone https://github.com/jmltoolkit/jmltoolkit.github.io.git
cd jmltoolkit.github.io
# Fetch/update the theme module
hugo mod tidy
# Start the live-reloading server at http://localhost:1313/
hugo server --logLevel debug --disableFastRender -p 1313hugo --gc --minifyThe generated site is written to public/ (gitignored). To check a build
without touching the local output directory:
hugo --gc --minify --destination /tmp/jmltk-docs-build --cleanDestinationDirAll pages are Markdown under content/:
content/intro/— getting started and showcasecontent/jml/— JML syntax and AST classescontent/key/— Meta-Javacontent/devel/— development, build, and the full syntax referencecontent/tools/— CLI, LSP, lint, SMT, VCG, and other tools
content/devel/syntax-elements.md is the full syntax reference;
content/jml/syntax-elements.md mirrors it with a different title. Keep both in
sync when changing syntax documentation.
See AGENTS.md for agent-specific conventions and commands.
Every push to main triggers .github/workflows/pages.yaml, which builds the
site with Hugo extended 0.156.0 and Go 1.26 and deploys public/ to GitHub
Pages.
hugo mod get -u
hugo mod tidySee Update modules.