Build documentation
SkillDocs & knowledgeBuild and check the JustRelax.jl documentation (Documenter + DocumenterVitepress), first-time setup, what the build regenerates, and how to triage its warnings. Use when changing docs, docstrings, API pages or the docs build.
Use Build documentation in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Build documentation and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Build documentation skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by ptsolvers/justrelax.jl in .claude/skills/build-docs/SKILL.md and read by Ahel’s review.
Rules for docs content and docstrings: docs-rules and docstring-rules.
Steps
-
First time only — make the docs environment use the local checkout:
julia --project=docs --startup-file=no -e 'using Pkg; Pkg.develop(path="."); Pkg.instantiate()' -
Build (the Vitepress theme needs Node, which DocumenterVitepress supplies through
NodeJS_jll; expect a slow first build):julia --project=docs --startup-file=no docs/make.jlThe site lands in
docs/build/. Ask before starting a full build if the change is prose-only: it is heavy. -
Triage the output.
:missing_docsand:cross_referencesare warn-only indocs/make.jl, but do not add new ones. For a missing docstring on a new export: write it, then make sure the source file is listed in thePagesof the matchingdocs/src/man/api/*.md@autodocsblock.- Real failures: a Literate error in one of the three miniapps that generate pages, a page missing from
pages, malformed@autodocs/@refsyntax.
-
Review what the build rewrote.
git status docs/src. The build regeneratesman/license.md,security.md,authors.md,code_of_conduct.md,contributing.md(from the repo-root files) and the Literate pagesman/diffusion2D_periodic.md,man/ShearBand2D.md,man/Blankenbach.md(from miniapps). Edit the sources, not these pages, and commit a regenerated page only when its source changed. -
Never commit
docs/build/,docs/site/ordocs/Manifest*.toml.
Layout
docs/src/index.md,docs/src/man/— user guide, equations, examples, API reference (man/api/), developer guide (man/developer.md).docs/make.jl— page list, generated pages,checkdocs = :exports,modules = [JustRelax, JustRelax2D, JustRelax3D, DataIO].docs/paper/— the JOSS paper; separate from the user docs.- Deployment:
.github/workflows/Documenter.yml; PR previews are removed byDocPreviewCleanup.yml.
Notes
- When the exported API changes, update the docstring and the relevant
docs/src/man/page in the same PR. - A new user-visible feature usually deserves a mention in the manual page for its area (boundary conditions, backend, grid generation, …) and, for a solver, in
man/developer.mdif it changes how solvers are added.
Signals
- GitHub stars
- 45
- Forks
- 13
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
build-docs- Source
- github.com/ptsolvers/justrelax.jl
github.com/ptsolvers/justrelax.jl
More in Docs & knowledge
Skill · mattpocock
More in Docs & knowledgecanvas-design
Skill · anthropics
More in Docs & knowledgedoc-coauthoring
Skill · anthropics
More in Docs & knowledgepopups
Skill · coreyhaines31
More in Docs & knowledgewriting-for-agents
Skill · mattpocock
More in Docs & knowledgespec-driven-development
Skill · addyosmani
More in Docs & knowledge