Skip to content

The Vertex Developer Portal website.

License

Notifications You must be signed in to change notification settings

Vertexvis/dev-portal

Repository files navigation

Vertex Developer Portal

This website is built using Docusaurus 2, a modern static website generator.

Requirements

This project requires yarn and nvm.

Local Development

$ nvm use
$ yarn install
$ yarn start

These commands activate the appropriate version of node.js, install/update package dependencies, start a local development server, and open up a browser window pointing at the local dev server. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Production Deployment

NOTE: Production deployment will happen automatically upon any main merge. The instructions below can be used to do so manually.

$ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

Working with Versions

The 'next' version documentation is located in the top level docs folder. Docs for published versions are located under the versioned_docs folder.

To publish a new version,

yarn version-docs -- {NEXT_VERSION_NUMBER}