Skip to content

Add Infrahub Collect to Tools & SDKs navbar dropdown - #174

Open
fatih-acar wants to merge 2 commits into
mainfrom
fac/add-collect-dropdown-7qpbi
Open

Add Infrahub Collect to Tools & SDKs navbar dropdown#174
fatih-acar wants to merge 2 commits into
mainfrom
fac/add-collect-dropdown-7qpbi

Conversation

@fatih-acar

Copy link
Copy Markdown
Contributor

Summary

Adds an Infrahub Collect entry directly below Infrahub Backup in the "Tools & SDKs" navbar dropdown.

Backup and Collect both live in the same docs-backup plugin and share the infrahubOpsSidebar. The existing Backup item uses type: docSidebar, which always lands on the sidebar's first page. To make Collect open the Collect section, this entry uses type: "doc" pointing at collect/index instead. The Collect content and sidebar category already exist, so no other changes were needed.

Changes

  • docs/docusaurus.config.ts: new navbar dropdown item for Infrahub Collect

🤖 Generated with Claude Code

Add an "Infrahub Collect" entry below "Infrahub Backup" in the
Tools & SDKs navbar dropdown, linking to the collect index doc in
the docs-backup plugin.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploying infrahub-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: dbf7760
Status: ✅  Deploy successful!
Preview URL: https://52852350.infrahub-docs.pages.dev
Branch Preview URL: https://fac-add-collect-dropdown-7qp.infrahub-docs.pages.dev

View logs

@fatih-acar
fatih-acar marked this pull request as ready for review July 16, 2026 18:04
@fatih-acar
fatih-acar requested a review from a team as a code owner July 16, 2026 18:04
Backup and Collect share the docs-backup plugin and the infrahubOpsSidebar,
so docSidebar/doc navbar items matched sidebar membership and both
highlighted on every page in the plugin. Switch both to plain links with
activeBaseRegex so each highlights only for its own route subtree
(everything under /backup/ except /backup/collect/ maps to Backup).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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