https://github.com/graphql-java/graphql-java-page
This is the repo of the GraphQL Java Documentation at www.graphql-java.com
https://github.com/graphql-java/graphql-java-page
Last synced: 2 months ago
JSON representation
This is the repo of the GraphQL Java Documentation at www.graphql-java.com
- Host: GitHub
- URL: https://github.com/graphql-java/graphql-java-page
- Owner: graphql-java
- License: mit
- Created: 2018-09-09T02:00:10.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-07T23:42:52.000Z (2 months ago)
- Last Synced: 2025-04-09T20:08:50.509Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 7.61 MB
- Stars: 7
- Watchers: 6
- Forks: 50
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# GraphQL Java documentation
Welcome to the GraphQL Java documentation. It's very easy to get started, all you need is Markdown.
Contributions are always welcome. Thanks for helping out!
## Local setup
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
### Installation
```
$ yarn
```### Local Development
```
$ 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.
### Build
```
$ yarn build
```Preview build files locally with
```
$ yarn run serve
```## How to create a new release
Create a new release by following the below (v20 used as an example)
```
$ yarn run docusaurus docs:version v20
```Then update `lastVersion` inside `docusaurus.config.js`
```
lastVersion: "v20",
```Delete the oldest version by deleting the oldest version's directory inside `versioned_docs` and the corresponding file in `versioned_sidebars`. Then delete the oldest version from `versions.json`.
Finally, change the Maven and Gradle sections for the latest docs in [documentation/getting-started.mdx](/documentation/getting-started.mdx) and the `getting-started` file for your newly created version.
For more, see the [Docusaurus versioning documentation](https://docusaurus.io/docs/versioning).