Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/ISSUE_TEMPLATE/---release.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,7 @@ If the troubleshooting section does not contain the answer to the problem you en
- [ ] Check the [releases][releases] page. The release has to be marked manually as `latest` if this is the case.
- [ ] Check the `release/N.M.x` release branch exists.
- [ ] Update the official documentation at [https://github.com/Kong/developer.konghq.com/][docs_repo]
- [ ] Run post processing script for `${KUBERNETES_CONFIGURATION_REPO}/docs/gateway-operator-api-reference.md`, providing a tagged version of CRD reference from docs repo as an argument, e.g. `app/_src/gateway-operator/reference/custom-resources/1.2.x.md`.
This will add the necessary skaffolding so that the reference is rendered correctly on docs.konghq.com.

Example:

```sh
${KUBERNETES_CONFIGURATION_REPO}/scripts/apidocs-gen/post-process-for-konghq.sh ${KUBERNETES_CONFIGURATION_REPO}/docs/gateway-operator-api-reference.md ${KONGHQ_DOCS_REPO}/app/_src/gateway-operator/reference/custom-resources/1.2.x.md
```
- **CLI configuration options** and **CRD reference**: Automatically synced by the release workflow. A PR will be created in the docs repo. Review and merge it when ready.

## Conformance tests report

Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/__release-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ jobs:
env:
DOCS_REPO: developer.konghq.com
DOCS_REPO_PATH_CLI_ARGS_DOC: app/operator/reference/configuration-options.md
DOCS_REPO_PATH_CRD_DOC: app/operator/reference/custom-resources.md
needs:
- semver
- create-release-pr
Expand All @@ -385,6 +386,14 @@ jobs:
run: |
cp ./docs/cli-arguments-for-developer-konghq-com.md ${{ env.DOCS_REPO }}/${{ env.DOCS_REPO_PATH_CLI_ARGS_DOC }}

- name: update CRD reference docs
run: |
mkdir -p "$(dirname "${{ env.DOCS_REPO }}/${{ env.DOCS_REPO_PATH_CRD_DOC }}")"
./scripts/apidocs-gen/post-process-for-konghq.sh \
./docs/gateway-operator-api-reference.md \
"${{ env.DOCS_REPO }}/${{ env.DOCS_REPO_PATH_CRD_DOC }}" \
"${{ env.DOCS_REPO }}"

- name: Detect changes
id: detect-changes
run: |
Expand Down
Loading