From da87ab2aed5a5d6b4b21681671885015997c9733 Mon Sep 17 00:00:00 2001 From: Dheeraj Date: Tue, 31 Mar 2026 18:50:43 +0530 Subject: [PATCH 1/2] fix: Correct EnterpriseContractPolicy doc link The link to EnterpriseContractPolicy in the configuration docs was pointing to the CLI reference page instead of the ECC API reference. Updated to point to the correct API documentation with a direct anchor to the EnterpriseContractPolicy section. resolves: EC-1650 Co-Authored-By: Claude Sonnet 4.5 --- docs/modules/ROOT/pages/configuration.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/configuration.adoc b/docs/modules/ROOT/pages/configuration.adoc index 1d8841f60..54b1ec8a5 100644 --- a/docs/modules/ROOT/pages/configuration.adoc +++ b/docs/modules/ROOT/pages/configuration.adoc @@ -20,7 +20,7 @@ ec validate image --policy '{ ---- The configuration can be provided as a reference to a -xref:cli:ROOT:reference.adoc[EnterpriseContractPolicy] Kubernetes custom +xref:ecc:ROOT:reference.adoc#k8s-api-github-com-enterprise-contract-enterprise-contract-controller-api-v1alpha1-enterprisecontractpolicy[EnterpriseContractPolicy] Kubernetes custom resource by either name (e.g. "my-policy") in the current namespace, or by providing namespace and the name separaded by slash (`/`) character, such as in this example: From 5c7842c9640c037904c635c8516a58a4e1fd89b6 Mon Sep 17 00:00:00 2001 From: Dheeraj Date: Thu, 2 Apr 2026 18:08:19 +0530 Subject: [PATCH 2/2] redirect to top of "API Reference" page instead of directly to https://conforma.dev/docs/ecc/reference.html#k8s-api-github-com-conforma-crds-api-v1alpha1-enterprisecontractpolicy resolves: EC-1650 Co-authored-by: Simon Baird --- docs/modules/ROOT/pages/configuration.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/configuration.adoc b/docs/modules/ROOT/pages/configuration.adoc index 54b1ec8a5..90ad4f8f5 100644 --- a/docs/modules/ROOT/pages/configuration.adoc +++ b/docs/modules/ROOT/pages/configuration.adoc @@ -20,7 +20,7 @@ ec validate image --policy '{ ---- The configuration can be provided as a reference to a -xref:ecc:ROOT:reference.adoc#k8s-api-github-com-enterprise-contract-enterprise-contract-controller-api-v1alpha1-enterprisecontractpolicy[EnterpriseContractPolicy] Kubernetes custom +xref:ecc:ROOT:reference.adoc[EnterpriseContractPolicy] Kubernetes custom resource by either name (e.g. "my-policy") in the current namespace, or by providing namespace and the name separaded by slash (`/`) character, such as in this example: