Repository navigation
docs: add new-navigation-banner to scan-fix-and-prevent classic pages (DOCT-2626 Phase B) - #1582
Conversation
…ic pages (DOCT-2626 Phase B)
Prepends `{% include "<relative>/.gitbook/includes/new-navigation-banner.md" %}`
after the YAML frontmatter on every page in this section whose frontmatter
declares `nav_context: classic`.
Filter: `grep -l '^nav_context: classic$'` across the section.
Scope this PR: 262 files - the largest of the five rollout PRs.
Depends on the banner include file in main (PR #1577, merged).
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
…t-scan-fix-and-prevent # Conflicts: # scan-fix-and-prevent/scan-with-snyk/snyk-api-web/configure-targets/configure-authentication/configure-basic-authentication.md # scan-fix-and-prevent/scan-with-snyk/snyk-api-web/configure-targets/verify-domain-ownership/verify-with-dns-txt.md
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7c00c25. Configure here.
| description: The components of each Snyk assets inventory layout | ||
| --- | ||
|
|
||
| {% include "../.gitbook/includes/new-navigation-banner.md" %} |
There was a problem hiding this comment.
Wrong include path depth
Medium Severity
The banner include uses ../.gitbook/includes/new-navigation-banner.md, which resolves to fix/.gitbook rather than the space root at scan-fix-and-prevent/.gitbook. GitBook will not load the shared include on these pages, so the navigation banner is missing where this PR intends it.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 7c00c25. Configure here.




Summary
Adds
{% include "<relative>/.gitbook/includes/new-navigation-banner.md" %}to every page inscan-fix-and-prevent/whose frontmatter declaresnav_context: classic. The include renders an info hint linking to Navigating Snyk (from PR #1577, merged).Files changed: 262 — this is the largest of the five Phase B PRs.
Filter used
Untouched:
nav_context: newornav_context: agnostic.nav_contextkey.Notes for reviewers
---. Reviewing one file establishes the pattern for all 262.manage-risk/dependencies-and-licenses/README.md,manage-risk/analytics/README.md, andmanage-assets/manage-assets.mdare onnav_context: newpages and therefore not touched by this PR — a separate cleanup, not a banner-rollout concern.Test plan
https://docs.snyk.io/getting-started/navigating-snyk.git diff --statmatches the expected 262 files, exactly two-line insertion each.Generated by Claude Code
Note
Low Risk
Documentation-only, repeated include insertion with no application or config changes.
Overview
This PR rolls out the shared new navigation GitBook banner across 262
scan-fix-and-prevent/docs that usenav_context: classic.Each page gets the same two-line change:
{% include ".../.gitbook/includes/new-navigation-banner.md" %}inserted immediately after the YAML frontmatter (relative path depth varies by folder). No body copy or frontmatter keys are otherwise modified.Pages with
nav_context: new/agnosticor nonav_contextare unchanged, including existing Snyk 2.0 hint blocks on some manage-risk pages.Reviewed by Cursor Bugbot for commit 7c00c25. Bugbot is set up for automated code reviews on this repo. Configure here.