This is yet to be optimized but here is a simple workflow for creating a new entry:
- Go to https://docs.galxe.com/admin, then login with your github
- Go to appropriate collection and page
- Fill in required fields:
- Sidebar Label: Label to show in the sidebar.
- Sidebar Potision: Order of the current entry in the sidebar collection. Start from 1.
- Slug: Url of the current entry in the sidebar collection.
- Body: Must start with a title using "Heading 1"
- Save
- Go to workflow page https://docs.galxe.com/admin/#/workflow
- (TODO) If you drag your document to "in review", or "ready", it should create a pull request to the repo
- If you have write permission to this repo, you can click "publish now" to publish the entry
- Our doc is hosted on netlify, so it will take about 2 minutes to take effect
Generate GraphQL documentation using our production endpoint with the following command:
yarn run doc:gen-graphql