This repository contains Restate's documentation.
In order to serve the documentation under localhost:3000
you can run the documentation container image:
docker run --rm -p 3000:80 ghcr.io/restatedev/documentation:latest
Note Make sure that you have access to Github's container registry by following these instructions.
You can also check this repository out and build the documentation yourself by following the instructions below.
The documentation is built using Docusaurus 2.
$ yarn
$ yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
$ yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.
In order to release the documentation you have to push a tag of the form vX.Y.Z
.
This will trigger the release workflow, which builds and publishes and new restatedev/documentation:vX.Y.Z
container image.
Moreover, it will create a draft release on Github that needs manual approval.
To update the configuration schemas, the default configuration and the Meta OpenAPI document, clone Restate and execute the following:
$ ./tools/generate.sh <PATH to Restate repo clone>
Update the TYPESCRIPT_SDK_VERSION
value in docusaurus.config.js
Update the RESTATE_DIST_VERSION
value in docusaurus.config.js
Update the TOUR_VERSION
value in docusaurus.config.js