Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the API references #210

Merged
merged 1 commit into from
Oct 18, 2024
Merged
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
42 changes: 3 additions & 39 deletions .github/workflows/generate-api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,6 @@ jobs:
path: crd-temp/application-api
repository: redhat-appstudio/application-api

- name: Checkout SPI
uses: actions/checkout@v3
with:
repository: redhat-appstudio/service-provider-integration-operator
path: crd-temp/service-provider

- name: Checkout GitOps
uses: actions/checkout@v3
with:
repository: redhat-appstudio/managed-gitops
path: crd-temp/managed-gitops

- name: Checkout Build Service API
uses: actions/checkout@v3
with:
Expand All @@ -56,24 +44,12 @@ jobs:
path: crd-temp/release-service
repository: redhat-appstudio/release-service

- name: Checkout JVM Build Service API
uses: actions/checkout@v3
with:
path: crd-temp/jvm-build-service
repository: redhat-appstudio/jvm-build-service

- name: Checkout Enterprise Contract API
uses: actions/checkout@v3
with:
path: crd-temp/enterprise-contract-controller
repository: enterprise-contract/enterprise-contract-controller

- name: Checkout DevSandbox API
uses: actions/checkout@v3
with:
path: crd-temp/devsandbox-api
repository: codeready-toolchain/api

- name: Checkout Internal Services API
uses: actions/checkout@v3
with:
Expand All @@ -93,39 +69,27 @@ jobs:
name: 'crd-ref-docs'
version: '0.0.8'

- name: Generate service provider API docs
run: crd-ref-docs --log-level=ERROR --config=ref/config.yaml --output-path=ref/service-provider.md --renderer=markdown --source-path=crd-temp/service-provider/api/v1beta1

- name: Generate application and environment API docs
run: crd-ref-docs --log-level=ERROR --config=ref/config.yaml --output-path=ref/application-environment-api.md --renderer=markdown --source-path=crd-temp/application-api/api/v1alpha1

- name: Generate GitOps service API docs
run: crd-ref-docs --log-level=ERROR --config=ref/config.yaml --output-path=ref/gitops.md --renderer=markdown --source-path=crd-temp/managed-gitops/backend-shared/apis/managed-gitops/v1alpha1

- name: Generate Build Service API docs
run: crd-ref-docs --log-level=ERROR --config=ref/config.yaml --output-path=ref/build-service.md --renderer=markdown --source-path=crd-temp/build-service/api/v1alpha1/

- name: Generate Image Controller API docs
run: crd-ref-docs --log-level=ERROR --config=ref/config.yaml --output-path=ref/image-controller.md --renderer=markdown --source-path=crd-temp/image-controller/api/v1alpha1/

- name: Generate Integration Service API docs
run: crd-ref-docs --log-level=ERROR --config=ref/config.yaml --output-path=ref/integration-service.md --renderer=markdown --source-path=crd-temp/integration-service/api/v1alpha1/

- name: Generate Release Service API docs
run: crd-ref-docs --log-level=ERROR --config=ref/config.yaml --output-path=ref/release-service.md --renderer=markdown --source-path=crd-temp/release-service/api/v1alpha1/

- name: Generate JVM Build Service API docs
run: crd-ref-docs --log-level=ERROR --config=ref/config.yaml --output-path=ref/jvm-build-service.md --renderer=markdown --source-path=crd-temp/jvm-build-service/pkg/apis/jvmbuildservice/v1alpha1/

- name: Generate Enterprise Contract API docs
run: crd-ref-docs --log-level=ERROR --config=ref/config.yaml --output-path=ref/enterprise-contract.md --renderer=markdown --source-path=crd-temp/enterprise-contract-controller/api/v1alpha1/

- name: Generate devsandbox API docs
run: crd-ref-docs --log-level=ERROR --config=ref/config.yaml --output-path=ref/devsandbox.md --renderer=markdown --source-path=crd-temp/devsandbox-api/api/v1alpha1

- name: Generate Internal Services API docs
run: crd-ref-docs --log-level=ERROR --config=ref/config.yaml --output-path=ref/internal-services.md --renderer=markdown --source-path=crd-temp/internal-services/api/v1alpha1/

- name: Generate Image Controller API docs
run: crd-ref-docs --log-level=ERROR --config=ref/config.yaml --output-path=ref/image-controller.md --renderer=markdown --source-path=crd-temp/image-controller/api/v1alpha1/

- name: Upload generated docs
uses: actions/upload-artifact@v3
with:
Expand Down
20 changes: 12 additions & 8 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,21 @@ navigation:
sublist:
- name: Application and Environment API
link: /architecture/ref/application-environment-api.html
- name: Service Provider (SPI)
link: /architecture/ref/service-provider.html
- name: GitOps Service
link: /architecture/ref/gitops.html
# - name: Service Provider (SPI)
# link: /architecture/ref/service-provider.html
# - name: GitOps Service
# link: /architecture/ref/gitops.html
- name: Build Service
link: /architecture/ref/build-service.html
- name: JVM Build Service
link: /architecture/ref/jvm-build-service.html
- name: Image Controller
link: /architecture/ref/image-controller.html
# - name: JVM Build Service
# link: /architecture/ref/jvm-build-service.html
- name: Integration Service
link: /architecture/ref/integration-service.html
- name: Release Service
link: /architecture/ref/release-service.html
- name: Enterprise Contract
link: /architecture/ref/enterprise-contract.html
- name: Release Service
link: /architecture/ref/release-service.html
- name: Internal Services
link: /architecture/ref/internal-services.html