Skip to content

AlexicaWright/docs-ui

This branch is 494 commits behind neo4j-documentation/docs-ui:master.

Folders and files

NameName
Last commit message
Last commit date
Apr 28, 2021
Jun 2, 2020
Apr 21, 2021
Jun 2, 2021
Jun 2, 2021
Jun 2, 2020
Apr 12, 2021
Jan 23, 2021
Jun 2, 2020
Jun 2, 2020
Jun 2, 2020
Jun 2, 2020
Jun 2, 2020
Nov 23, 2020
Feb 5, 2021
Jun 2, 2020
May 10, 2021
May 10, 2021

Repository files navigation

Neo4j Documentation UI

Usage

To use this UI with Antora, add the following configuration to your playbook file:

ui:
  bundle:
    url: https://s3-eu-west-1.amazonaws.com/static-content.neo4j.com/build/ui-bundle-v0.4.0.zip
ℹ️
If you want to use the latest version (unreleased) you can use the following URL: https://s3-eu-west-1.amazonaws.com/static-content.neo4j.com/build/ui-bundle.zip.

Installation

In order to build the UI:

npm i

Build

To build the UI, run the build command:

npm run build

Preview

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. For instance, if you want to launch the server on port 3000:

PORT=3000 npm start

Publish a new version

The release process is automated and relies on GitHub Actions. See the .github/workflows/release.yml file for details.

The release will be performed when a tag is pushed, the procedure is:

  1. Tag and push to master (don’t forget the v prefix and replace x.y.z with an actual version):

    $ git tag vx.y.z && git push origin master --tags

The UI bundle will be published to S3 and available shortly at: https://s3-eu-west-1.amazonaws.com/static-content.neo4j.com/build/ui-bundle-vx.y.z.zip

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 45.3%
  • JavaScript 35.8%
  • Handlebars 18.7%
  • HTML 0.2%