2021-03-05 00:12:12 -08:00
# Website
2022-08-15 05:43:17 +00:00
This website is built using [Docusaurus ](https://docusaurus.io/ ), a modern static website generator.
2021-03-05 00:12:12 -08:00
## Installation
```console
yarn install
```
## Local Development
```console
2022-08-15 05:43:17 +00:00
../gradlew yarnStart
# You may also have success running the underlying commands manually.
2021-03-05 12:20:31 -08:00
yarn run lint
yarn run generate
yarn run start
2021-03-05 00:12:12 -08:00
```
2022-08-15 05:43:17 +00:00
This command starts a local development server and open up a browser window.
2021-03-05 00:12:12 -08:00
## Build
```console
2022-08-15 05:43:17 +00:00
../gradlew yarnBuild
2021-03-05 00:12:12 -08:00
```
2022-08-15 05:43:17 +00:00
This command generates static content into the `dist` directory and can be served using any static contents hosting service. You can preview the built static site using `../gradlew serve` , although we're recommend using the local development instructions locally.
2021-09-22 17:30:15 -07:00
## Generating GraphQL API Docs
2022-08-15 05:43:17 +00:00
To regenerate GraphQL API docs, simply rebuild the docs-website directory.
2021-09-22 17:30:15 -07:00
```console
./gradlew docs-website:build
```