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
15 changes: 12 additions & 3 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,20 @@ const config: Config = {
label: "Infrahub AI Skills",
docsPluginId: "docs-ai-skills",
},
// Backup and Collect share the docs-backup plugin and the
// infrahubOpsSidebar, so docSidebar/doc navbar items both match the
// whole sidebar and highlight together. Use plain links with
// activeBaseRegex so each highlights only for its own routes:
// everything under /backup/ except /backup/collect/ maps to Backup.
{
type: "docSidebar",
sidebarId: "infrahubOpsSidebar",
to: "/backup/",
label: "Infrahub Backup",
docsPluginId: "docs-backup",
activeBaseRegex: "/backup/(?!collect)",
},
{
to: "/backup/collect/",
label: "Infrahub Collect",
activeBaseRegex: "/backup/collect",
},
],
},
Expand Down
Loading