To use this UI with Antora, add the following configuration to your playbook file:
ui:
bundle:
url: https://static-content.neo4j.com/build/ui-bundle-latest.zip
You can run a local server to preview the UI by running:
npm start
This will launch a server at http://localhost:5252.
💡
|
You can configure the port using the environment variable PORT=3000 npm start |
The release process is automated and uses GitHub Actions.
See the .github/workflows/release.yml
file for details.
The release is performed when a tag is pushed.
-
Use
npm version patch
ornpm version minor
to increase the version in thepackage.json
file and create a tag for the new verrsion. -
Push the tag upstream:
$ git push--tags upstream master
The UI bundle is published to S3. It is available from two URLs:
-
https://static-content.neo4j.com/build/ui-bundle-vx.y.z.zip
-
https://static-content.neo4j.com/build/ui-bundle-latest.zip
When the tag is pushed, a TC build is triggered, which generates and publishes the latest .css
, .js
and other assets.
If the changes to the bundle include updates to any of the templates in src/layouts or src/partials, each docset needs to be rebuilt with the new bundle and republished for the changes to take effect.