Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The `ap` CLI tool is used to build a custom gateway image with your own policies
**Step 5: Verify the installation**

```bash
ap --version
ap version

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

set -euo pipefail

printf '\n## Target file\n'
sed -n '45,70p' en/docs/cloud/api-platform-gateway/build-gateway-with-custom-policies.md

printf '\n## Related guide\n'
sed -n '1,120p' en/docs/api-gateway/next/policies/custom-policies/building-gateway-with-custom-policies.md

printf '\n## Search for version command variants\n'
rg -n --no-heading -S 'ap --version|ap version' en/docs | sed -n '1,200p'

Repository: wso2/docs-api-platform

Length of output: 5103


🏁 Script executed:

set -euo pipefail

printf '\nTarget file excerpt:\n'
nl -ba en/docs/cloud/api-platform-gateway/build-gateway-with-custom-policies.md | sed -n '50,62p'

printf '\nRelated guide excerpt:\n'
nl -ba en/docs/api-gateway/next/policies/custom-policies/building-gateway-with-custom-policies.md | sed -n '50,70p'

printf '\nAll occurrences:\n'
rg -n --no-heading -S 'ap --version|ap version' en/docs

Repository: wso2/docs-api-platform

Length of output: 222


Keep the version-check command consistent. This page mixes ap version and ap --version, and the matching guides still use ap --version. If ap version is the intended syntax, update the remaining occurrences as well.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@en/docs/cloud/api-platform-gateway/build-gateway-with-custom-policies.md` at
line 56, Update the version-check command in
build-gateway-with-custom-policies.md to use the same syntax as the matching
guides, replacing ap version with ap --version unless ap version is explicitly
the intended command; if retaining ap version, update all remaining
version-check occurrences consistently.

```

=== "Windows"
Expand Down