Skip to content

Commit 40ec7fe

Browse files
committed
Attempt to fix api-docs generation
Signed-off-by: Soule <[email protected]>
1 parent 2af4eab commit 40ec7fe

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/docs-ci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,13 @@ jobs:
2626
with:
2727
repository: ${{ github.repository_owner }}/network-operator-docs # repo must be explicitly set here for workflow calling to behave correctly
2828
token: ${{ inputs.token || secrets.GH_TOKEN_NVIDIA_CI_CD }} # token must be explicitly set here for push to work in following step
29+
- name: Setup Go
30+
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
31+
with:
32+
go-version: 1.23.x
2933
- name: Make docs
3034
run: |
31-
make helm-docs generate-docs-versions-var
35+
make api-docs helm-docs generate-docs-versions-var
3236
- name: Close any existing documentation PRs
3337
run: |
3438
for pr_number in $(gh pr list --search "$PR_TITLE_PREFIX" --json number --jq ".[].number"); do

docs/customizations/crds.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -657,13 +657,13 @@ NicClusterPolicySpec defines the desired state of NicClusterPolicy
657657
| ``secondaryNetwork`` | Configuration options for secondary network |
658658
| :ref:`SecondaryNetworkSpec <SecondaryNetworkSpec>` | |
659659
+---------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+
660-
| ``nvIpam`` | Configuration options nv-ipam |
660+
| ``nvIpam`` | Configuration options for nv-ipam |
661661
| :ref:`NVIPAMSpec <NVIPAMSpec>` | |
662662
+---------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+
663-
| ``nicFeatureDiscovery`` | Configuration options nic-feature-discovery |
663+
| ``nicFeatureDiscovery`` | Configuration options for nic-feature-discovery |
664664
| :ref:`NICFeatureDiscoverySpec <NICFeatureDiscoverySpec>` | |
665665
+---------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+
666-
| ``docaTelemetryService`` | Configuration options DOCA Telemetry Service |
666+
| ``docaTelemetryService`` | Configuration options for DOCA Telemetry Service |
667667
| :ref:`DOCATelemetryServiceSpec <DOCATelemetryServiceSpec>` | |
668668
+---------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+
669669

0 commit comments

Comments
 (0)