Skip to content

DOCS-3012: Remove duplicate headings from the web console access page - #2933

Merged
ctauchen merged 1 commit into
tigera:mainfrom
ctauchen:DOCS-3012
Aug 19, 2026
Merged

DOCS-3012: Remove duplicate headings from the web console access page#2933
ctauchen merged 1 commit into
tigera:mainfrom
ctauchen:DOCS-3012

Conversation

@ctauchen

Copy link
Copy Markdown
Collaborator

The "Configure access to the web console" page listed "Log in to the Calico Enterprise web console" four times in the table of contents. The page has four tabs in the How to section, and each tab ended with its own H3 heading. Docusaurus builds the table of contents from the headings in the source, not from the tab the reader has selected, so all four headings appeared at once and generated duplicate anchor slugs.

Changes:

  • Change the four in-tab headings to bold text. The same tabs already use bold labels for "Basic ingress controller, no modification" and "Example", so this matches the page.
  • Replace the "Configure access to the Calico Enterprise web console" heading with a line that tells the reader to select a tab. That heading restated the page title one level down.

The table of contents now reads: Big picture, Value, Before you begin, How to, Additional resources.

Applied to Calico Enterprise 3.21, 3.22, 3.23, 3.24, and next. Calico Enterprise 3.20 has the same problem but is not in onlyIncludeVersions, so it is not built. Calico Cloud and Calico Open Source have no equivalent page.

No page links to the removed anchors. The similar link in quickstart.mdx points to a heading on that page.

Ticket: https://tigera.atlassian.net/browse/DOCS-3012

Follow-up: 57 files across the repo put headings inside Tabs, and 11 distinct pages repeat a heading text that way, including the Windows demo, the IP pool migration pages, and the Kubernetes audit log pages. Those need a separate ticket.

When the deploy preview builds, check the table of contents on:

  • /calico-enterprise/3.22/operations/cnx/access-the-manager

The web console access page put an H3 heading inside each of the four
tabs in the How to section. Docusaurus builds the table of contents from
the headings in the source, not from the tab the reader has selected, so
all four copies of "Log in to the Calico Enterprise web console" appeared
at once, with duplicate anchor slugs.

Change the four in-tab headings to bold text, matching the bold labels
the same tabs already use. Replace the "Configure access to the Calico
Enterprise web console" heading, which restated the page title, with a
line that tells the reader to select a tab.

Applies to Calico Enterprise 3.21, 3.22, 3.23, 3.24, and next.
Copilot AI lite review requested due to automatic review settings August 19, 2026 14:58
@ctauchen
ctauchen requested a review from a team as a code owner August 19, 2026 14:58
@netlify

netlify Bot commented Aug 19, 2026

Copy link
Copy Markdown

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 21ed4e6
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6a85c4a52a2f770008a4d4cd
😎 Deploy Preview https://deploy-preview-2933--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: 66 (🔴 down 28 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.

@netlify

netlify Bot commented Aug 19, 2026

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 21ed4e6
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6a85c4a53222dc0008aec7a9
😎 Deploy Preview https://deploy-preview-2933--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.

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.

Pull request overview

Removes duplicate “Log in to the Calico Enterprise web console” entries from the generated Docusaurus table of contents on the “Configure access to the web console” page by eliminating repeated in-tab headings that were being indexed multiple times across Tabs.

Changes:

  • Replaced the in-tab ### Log in to the $[prodname] web console headings with bold text to prevent duplicate ToC entries.
  • Replaced the redundant ### Configure access to the $[prodname] web console subheading with an instructional sentence that doesn’t introduce a ToC entry.
  • Applied the same ToC-fix pattern consistently across Calico Enterprise “next” and versions 3.21–3.24.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
calico-enterprise/operations/cnx/access-the-manager.mdx Removes duplicate ToC entries by converting repeated tab headings to bold text and replacing a redundant H3 with instructional text.
calico-enterprise_versioned_docs/version-3.24-1/operations/cnx/access-the-manager.mdx Same ToC de-duplication adjustments for Enterprise 3.24.
calico-enterprise_versioned_docs/version-3.23-2/operations/cnx/access-the-manager.mdx Same ToC de-duplication adjustments for Enterprise 3.23.
calico-enterprise_versioned_docs/version-3.22-2/operations/cnx/access-the-manager.mdx Same ToC de-duplication adjustments for Enterprise 3.22.
calico-enterprise_versioned_docs/version-3.21-2/operations/cnx/access-the-manager.mdx Same ToC de-duplication adjustments for Enterprise 3.21.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ctauchen
ctauchen merged commit 8e94577 into tigera:main Aug 19, 2026
11 checks passed
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