We use Antora to build the XTDB documentation.
The full website build/deploy is available (to JUXTers) in the private website-old repo - for more details, see the README over there.
From here, though, you can build the documentation section in isolation, to check any changes.
Requires Node/NPM installed.
./bin/build.sh
./bin/open-local-site.sh
to open up the built version of the site in your browser.
./bin/run-local-server.sh
to open the site if you require plugins (like Dark Reader) which work poorly with file://
URLs.
The documentation site includes documentation for previous releases as well as the current main branch.
These are located by branch name convention - branches prefixed with docs-v*
will be included.
Create a docs-v<new-version>
branch
Update docs/reference/antora.yml:
Delete prerelease: indeed
and display-version: main
lines
Update version: master
to version: <new-version>
Commit, push branch to the main JUXT XTDB repo
Head over to website-old
to deploy the docs.
Can you improve this documentation? These fine people already did:
James Henderson, Steven Deobald, Dan Mason & Jeremy TaylorEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close