Skip to content

restatedev/docs-restate

Repository files navigation

Restate Documentation

Development

Install the Mintlify CLI to preview your documentation changes locally. To install, use the following command:

npm i -g mint

Run the following command at the root of the repository:

cd docs
mint dev

View your local preview at http://localhost:3000.

Publishing changes

The main branch is automatically deployed to the production documentation site.

Adding guides

  1. Add the mdx to docs/guides. Make sure it has a title, description, and a single tag (either recipe, development, deployment, or integration).
    • Example:
      ---
      title: "Guide Title"
      description: "Short description of the guide."
      tags: ["recipe"]
      ---
  2. Add the thumbnail image to docs/img/guides/{guide-name}/{guide-name}.png
  3. Add the guide to the sidebar in docs/docs.json

No need to add the guide to the overview. This is done automatically when running:

node loadScripts.js

Formatting code snippets

For TS:

cd code_snippets/ts
npm run format

For Java:

cd code_snippets/java
./gradlew spotlessApply

For Kotlin:

cd code_snippets/kotlin
./gradlew spotlessApply

For Go:

cd code_snippets/go
go fmt

For Python:

cd code_snippets/python
python3 -m black .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •