Skip to content

DOCS-3105: Restructure the staged policy pages - #3247

Open
ctauchen wants to merge 4 commits into
tigera:mainfrom
ctauchen:DOCS-3105-staged-pages
Open

ctauchen wants to merge 4 commits into
tigera:mainfrom
ctauchen:DOCS-3105-staged-pages

Conversation

@ctauchen

@ctauchen ctauchen commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

This PR changes the three staged policy pages to follow the resource reference template, in next, 3.33, 3.32, and 3.31. No field facts change.

Jira: DOCS-3105

There is one commit per version. Changes to know about:

  • The "Supported operations" tables are gone. They said Yes for every operation.
  • The staged Kubernetes network policy page now lists only the field it adds, stagedAction, and links to the Kubernetes NetworkPolicySpec for the rest, as the template's exceptions say. Its policyTypes default moves to a short "Default policy types" section.
  • Nested type headings still come from the shared includes, unchanged.

The 3.33 pages differ from next only in include paths. The 3.32 and 3.31 pages keep their older field wording.

Previews:

@ctauchen
ctauchen requested a review from a team as a code owner November 24, 2026 16:27
Copilot AI lite review requested due to automatic review settings November 24, 2026 16:27
@netlify

netlify Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for calico-docs-preview-next ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 37d93ff
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6b060fc230926c7a493f374b
😎 Deploy Preview https://deploy-preview-3247--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 37d93ff
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6b060fc2ced26c238c9dc9eb
😎 Deploy Preview https://deploy-preview-3247--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 75 (🔴 down 16 from production)
Accessibility: 98 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are identified, and the changes consistently restructure the staged policy reference pages while preserving documented field behavior across all listed versions.

No open issues 🎉

What changed in this PR

Restructures the Calico staged policy resource reference pages across the next, 3.33, 3.32, and 3.31 documentation trees without changing documented field behavior.

Changes:

  • Converts all staged policy pages to the shared resource-reference format.
  • Removes redundant supported-operations tables and adds related-resource links.
  • Simplifies staged Kubernetes policy definitions by linking inherited fields to Kubernetes while preserving version-specific policy defaults.
File Description
calico/​reference/​resources/​stagednetworkpolicy.mdx Restructures the next-version namespaced staged network policy reference.
calico/​reference/​resources/​stagedkubernetesnetworkpolicy.mdx Updates the next-version staged Kubernetes policy reference to document wrapper fields and policy-type defaults.
calico/​reference/​resources/​stagedglobalnetworkpolicy.mdx Restructures the next-version cluster-scoped staged global network policy reference.
calico_versioned_docs/​version-3.33/​reference/​resources/​stagednetworkpolicy.mdx Applies the resource-reference structure to the Calico 3.33 staged network policy page.
calico_versioned_docs/​version-3.33/​reference/​resources/​stagedkubernetesnetworkpolicy.mdx Updates the Calico 3.33 staged Kubernetes policy reference with inherited-field links and staged policy behavior.
calico_versioned_docs/​version-3.33/​reference/​resources/​stagedglobalnetworkpolicy.mdx Applies the resource-reference structure to the Calico 3.33 staged global network policy page.
calico_versioned_docs/​version-3.32/​reference/​resources/​stagednetworkpolicy.mdx Applies the resource-reference structure while retaining Calico 3.32 field wording.
calico_versioned_docs/​version-3.32/​reference/​resources/​stagedkubernetesnetworkpolicy.mdx Updates the Calico 3.32 staged Kubernetes policy reference while retaining version-specific policy behavior.
calico_versioned_docs/​version-3.32/​reference/​resources/​stagedglobalnetworkpolicy.mdx Applies the resource-reference structure while retaining Calico 3.32 field wording.
calico_versioned_docs/​version-3.31/​reference/​resources/​stagednetworkpolicy.mdx Applies the resource-reference structure while retaining Calico 3.31 field wording.
calico_versioned_docs/​version-3.31/​reference/​resources/​stagedkubernetesnetworkpolicy.mdx Updates the Calico 3.31 staged Kubernetes policy reference while retaining version-specific policy behavior.
calico_versioned_docs/​version-3.31/​reference/​resources/​stagedglobalnetworkpolicy.mdx Applies the resource-reference structure while retaining Calico 3.31 field wording.

Review effort: Lite

@ctauchen
ctauchen force-pushed the DOCS-3105-staged-pages branch from 31f0099 to c6c8358 Compare November 24, 2026 21:43
…rk policy, and staged Kubernetes network policy pages to the resource template

The three pages now follow the resource reference template. They open
with the standard lead and the kubectl aliases, and drop the Supported
operations table. Behavior notes move after Definition, and each page
gets an Additional resources list.

The staged Kubernetes network policy page gets a Metadata section and
lists only the field it adds. It links to the Kubernetes API for the
rest. No field facts change.
…network policy, and staged Kubernetes network policy pages

These pages get the same template changes as next.
Only the include paths differ from next. No field facts change.
…network policy, and staged Kubernetes network policy pages

These pages get the same template changes as next.
Version differences in field text are kept. No field facts change.
…network policy, and staged Kubernetes network policy pages

These pages get the same template changes as next.
Version differences in field text are kept. No field facts change.
@ctauchen
ctauchen force-pushed the DOCS-3105-staged-pages branch from c6c8358 to 37d93ff Compare November 24, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants