Skip to content

Commit

Permalink
Fixed doc generation (#864)
Browse files Browse the repository at this point in the history
  • Loading branch information
psav authored Sep 18, 2023
1 parent 4876d99 commit 0064b90
Show file tree
Hide file tree
Showing 5 changed files with 236 additions and 43 deletions.
2 changes: 1 addition & 1 deletion build/build_api_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ if ! command -v asciidoctor; then
exit 1
fi

docs/build/crd-ref-docs/crd-ref-docs --source-path=./apis --config=docs/build/crd-ref-docs/config.yaml \
docs/build/crd-ref-docs/crd-ref-docs --source-path=./apis --config=docs/config.yaml \
--renderer=asciidoctor --templates-dir=docs/build/crd-ref-docs/templates/asciidoctor \
--output-path=docs/antora/modules/ROOT/pages/api_reference.adoc
10 changes: 6 additions & 4 deletions config/crd/bases/cloud.redhat.com_clowdapps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ spec:
in spec.resourceClaims, that are used by this container.
\n This is an alpha field and requires enabling the
DynamicResourceAllocation feature gate. \n This field
is immutable."
is immutable. It can only be set for containers."
items:
description: ResourceClaim references one entry in
PodSpec.ResourceClaims.
Expand Down Expand Up @@ -1794,7 +1794,8 @@ spec:
that are used by this container.
\n This is an alpha field and requires
enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
feature gate. \n This field is immutable.
It can only be set for containers."
items:
description: ResourceClaim references
one entry in PodSpec.ResourceClaims.
Expand Down Expand Up @@ -3643,7 +3644,7 @@ spec:
in spec.resourceClaims, that are used by this container.
\n This is an alpha field and requires enabling the
DynamicResourceAllocation feature gate. \n This field
is immutable."
is immutable. It can only be set for containers."
items:
description: ResourceClaim references one entry in
PodSpec.ResourceClaims.
Expand Down Expand Up @@ -4373,7 +4374,8 @@ spec:
that are used by this container.
\n This is an alpha field and requires
enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
feature gate. \n This field is immutable.
It can only be set for containers."
items:
description: ResourceClaim references
one entry in PodSpec.ResourceClaims.
Expand Down
9 changes: 6 additions & 3 deletions config/crd/bases/cloud.redhat.com_clowdenvironments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,8 @@ spec:
defined in spec.resourceClaims, that are used by
this container. \n This is an alpha field and requires
enabling the DynamicResourceAllocation feature gate.
\n This field is immutable."
\n This field is immutable. It can only be set for
containers."
items:
description: ResourceClaim references one entry
in PodSpec.ResourceClaims.
Expand Down Expand Up @@ -589,7 +590,8 @@ spec:
defined in spec.resourceClaims, that are
used by this container. \n This is an alpha
field and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
feature gate. \n This field is immutable.
It can only be set for containers."
items:
description: ResourceClaim references one
entry in PodSpec.ResourceClaims.
Expand Down Expand Up @@ -765,7 +767,8 @@ spec:
description: "Claims lists the names of resources, defined in
spec.resourceClaims, that are used by this container. \n This
is an alpha field and requires enabling the DynamicResourceAllocation
feature gate. \n This field is immutable."
feature gate. \n This field is immutable. It can only be set
for containers."
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
Expand Down
Loading

0 comments on commit 0064b90

Please sign in to comment.