Skip to content

Revert "docs: add new-navigation-banner to discover-snyk classic pages (DOCT-2626 Phase B)" - #1595

Merged
esabou-snyk merged 1 commit into
mainfrom
revert/doct-2626-discover-snyk-rollout
Aug 4, 2026
Merged

esabou-snyk merged 1 commit into
mainfrom
revert/doct-2626-discover-snyk-rollout

Conversation

@esabou-snyk

@esabou-snyk esabou-snyk commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Reverts #1579 (merged earlier today) which inserted the reusable new-navigation-banner include into 39 discover-snyk pages with nav_context: classic.

Why

The banner links to https://docs.snyk.io/getting-started/navigating-snyk, which currently returns 404 on live docs — the "Navigating Snyk" page for DOCT-2626 is still an unmerged GitBook draft (CR #28). Shipping the banner before the target lands sends users from real docs to a dead link.

Rolling back until sequencing is right:

  1. Land the "Navigating Snyk" page on live docs.
  2. Re-open the four Phase B rollout PRs (this one, plus docs: add new-navigation-banner to developer-tools classic pages (DOCT-2626 Phase B) #1580, docs: add new-navigation-banner to platform-administration classic pages (DOCT-2626 Phase B) #1581, docs: add new-navigation-banner to scan-fix-and-prevent classic pages (DOCT-2626 Phase B) #1582 which are still open and unmerged).

Phase A (#1577) is untouched — the include source files at <section>/.gitbook/includes/new-navigation-banner.md remain on main. They're inert without callers.

Test plan

  • git diff main..revert/doct-2626-discover-snyk-rollout shows only removals of the {% include %} line across the same 39 discover-snyk files (+78/-0 in the original PR, now -78/+0 in this revert).
  • After merge, docs.snyk.io/readme.md continues to show no banner (no visible change to end users, since the banner wasn't rendering yet or would have pointed at 404).
  • Tracked in DOCT-2626.

Note

Low Risk
Documentation-only removal of a GitBook include; no product code or auth paths change.

Overview
This PR reverts the DOCT-2626 Phase B rollout on discover-snyk by deleting the {% include %} line for new-navigation-banner.md from 39 GitBook pages that use nav_context: classic (homepage, getting started, pilot guide, implementation guides, start scanning, Snyk Learn, and supported languages).

The banner pointed readers to Navigating Snyk at https://docs.snyk.io/getting-started/navigating-snyk, which is not live yet, so showing it would send users to a 404. Phase A include files under .gitbook/includes/ stay on main; they are unused until includes are added again after the target page ships.

Reviewed by Cursor Bugbot for commit 5be0178. Bugbot is set up for automated code reviews on this repo. Configure here.

…cover-snyk"

This reverts commit fbd59f2, reversing
changes made to a486786.
@esabou-snyk
esabou-snyk requested a review from a team as a code owner August 4, 2026 14:31
@snyk-io

snyk-io Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@esabou-snyk
esabou-snyk merged commit 28b8952 into main Aug 4, 2026
7 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