Skip to content

docs(consumer-restriction): re-port with Admin API, ADC, and Ingress Controller tabs#13262

Merged
Yilialinn merged 4 commits into
apache:masterfrom
Yilialinn:docs/update-consumer-restriction
Apr 22, 2026
Merged

docs(consumer-restriction): re-port with Admin API, ADC, and Ingress Controller tabs#13262
Yilialinn merged 4 commits into
apache:masterfrom
Yilialinn:docs/update-consumer-restriction

Conversation

@Yilialinn
Copy link
Copy Markdown
Contributor

Re-ports the consumer-restriction plugin documentation with Admin API, ADC, and Ingress Controller tab structure, corrected attribute table (whitelist/blacklist/allowed_by_methods are not individually required; rejected_code valid range >= 200), and canonical link.

@dosubot dosubot Bot added size:XXL This PR changes 1000+ lines, ignoring generated files. doc Documentation things labels Apr 20, 2026
@Yilialinn Yilialinn requested a review from Copilot April 20, 2026 08:57
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Re-ports the consumer-restriction plugin documentation (EN + ZH) to a tabbed structure (Admin API / ADC / Ingress Controller), updates the attributes table, and adds a canonical link.

Changes:

  • Added canonical link + MDX tab components and reorganized examples into Admin API / ADC / Ingress Controller tabs.
  • Updated attributes table semantics (required fields, rejected_code range, etc.).
  • Rewrote and expanded example configurations for consumer-name / method / service-id based restrictions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.

File Description
docs/zh/latest/plugins/consumer-restriction.md Converts ZH docs to tabbed MDX structure, updates attributes, and refreshes examples + canonical link.
docs/en/latest/plugins/consumer-restriction.md Converts EN docs to tabbed MDX structure, updates attributes, and refreshes examples + canonical link.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/en/latest/plugins/consumer-restriction.md
Comment thread docs/zh/latest/plugins/consumer-restriction.md
Comment thread docs/en/latest/plugins/consumer-restriction.md
Comment thread docs/zh/latest/plugins/consumer-restriction.md
Comment thread docs/en/latest/plugins/consumer-restriction.md
Comment thread docs/zh/latest/plugins/consumer-restriction.md
Comment thread docs/en/latest/plugins/consumer-restriction.md Outdated
Comment thread docs/zh/latest/plugins/consumer-restriction.md Outdated
Yilialinn and others added 3 commits April 21, 2026 14:54
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Yilialinn Yilialinn requested a review from kayx23 April 21, 2026 07:08
@Yilialinn Yilialinn requested review from Baoyuantop and guoqqqi April 21, 2026 09:52
@Yilialinn Yilialinn merged commit c11deaf into apache:master Apr 22, 2026
22 checks passed
@Yilialinn Yilialinn deleted the docs/update-consumer-restriction branch April 22, 2026 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Documentation things size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants