- docs.json for navigation and site settings
- index.mdx for the homepage
.mdxfiles under the repository root for all other pages
Local development
Mintlify’s local dev startup command ismint dev, but Mintlify does not support Node 25+. This repo avoids that issue by running Mintlify in a Node 22 Docker container:
3000 by default. Override with:
Command reference snippets
Command reference blocks (the auto-generated usage + flags tables) live insnippets/commands/ and are generated from the Go source. Do not edit them by hand — they will be overwritten on the next run.
To regenerate after changing a command’s flags or description:
scripts/gen-docs-snippets/main.go, which imports the core sitectl command
tree plus every locally checked-out plugin — sitectl-isle, sitectl-drupal,
sitectl-archivesspace, sitectl-ojs, sitectl-omeka-classic, sitectl-omeka-s,
sitectl-wp, and sitectl-triplet — and renders each command to an .mdx snippet
file.
The generator is a self-contained Go module: it resolves the sibling plugin repos
through the require/replace directives in scripts/gen-docs-snippets/go.mod, so
no go.work file is needed. The make docs-snippets target runs it from inside its
module directory and passes the docs root as the output base. To add a plugin to the
generated reference, add it to both that go.mod and the plugins list in
main.go.
sitectl-libops is intentionally not generated: its checkout currently imports a
sitectl/pkg/format package that the pinned sitectl module does not provide, so it
cannot compile against this workspace. The plugins/libops/ pages are maintained by
hand until the two modules are realigned.
The generator skips hidden commands (those starting with __) and thin
plugin-passthrough wrappers (commands that disable flag parsing and only forward
arguments, such as sitectl wp cli or sitectl ojs tool). Those passthrough commands
are documented in hand-written prose instead.
Tooltip snippets
Reusable tooltip definitions for technical terms live insnippets/. Import and use them in any page:
Making docs changes
When you update the docs:- preserve the existing nav structure in
docs.jsonand only add to it when needed - use MDX for new pages
- keep contributor and operator guidance in the docs site instead of a
CONTRIBUTING.mdfile - home-tab pages (the operator-facing docs) should avoid jargon and use tooltip snippets for acronyms
- contributing-tab pages can be fully technical

