fix(cli): remove snyk-cli/snyk-cli double-nested GitBook links (84 files) - #1642
Merged
Merged
Conversation
Fixes 155 cross-space GitBook links of the form app.gitbook.com/s/IEEjSXQQu36y0vmFV8zf/snyk-cli/snyk-cli/... which produced the broken public URL https://docs.snyk.io/developer-tools/snyk-cli/snyk-cli/... Root cause: a GitBook Git Sync commit from June 2026 generated cross-space href attributes with an extra snyk-cli/ path segment. Prior fix PRs (#1609, #1611, #1612) cleaned up docs.snyk.io-format URLs but left the app.gitbook.com/s/... internal links untouched. This pass catches all remaining instances across 84 files in agent-security, discover-snyk, platform-administration, scan-fix-and-prevent, and snyk-data-and-governance. Excludes discover-snyk/whats-new.md (auto-generated). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
✅ 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. |
VeronicaSnyk
approved these changes
Aug 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
snyk-cli/snyk-clipath segment, producing broken public URLs likehttps://docs.snyk.io/developer-tools/snyk-cli/snyk-cli/commands/secrets-testapp.gitbook.com/s/IEEjSXQQu36y0vmFV8zf/snyk-cli/snyk-cli/…; corrected toapp.gitbook.com/s/IEEjSXQQu36y0vmFV8zf/snyk-cli/…agent-security/,discover-snyk/,platform-administration/,scan-fix-and-prevent/, andsnyk-data-and-governance/Root cause: A GitBook Git Sync commit from June 2026 auto-generated cross-space
hrefattributes with an extrasnyk-cli/path segment. Prior fix PRs (#1609, #1611, #1612) correcteddocs.snyk.io-format URLs but left theapp.gitbook.com/s/…internal links untouched. This PR cleans up all remaining instances.discover-snyk/whats-new.mdintentionally excluded (auto-generated file).Test plan
grep -r "IEEjSXQQu36y0vmFV8zf/snyk-cli/snyk-cli" --include="*.md"returns onlywhats-new.md🤖 Generated with Claude Code
Note
Low Risk
Documentation-only URL corrections with no runtime, auth, or build logic changes; risk is limited to occasional missed links if any instances remain outside the edited files.
Overview
Fixes broken cross-space GitBook links that pointed at paths like
…/snyk-cli/snyk-cli/…instead of…/snyk-cli/…. Those URLs broke navigation to Snyk CLI topics (install, auth, commands, scan guides, and related pages).The updates are link-only: each change drops one duplicate
snyk-cli/segment fromapp.gitbook.com/s/IEEjSXQQu36y0vmFV8zf/snyk-cli/snyk-cli/…hrefs. 84 files are touched across agent-security Studio guides, discover-snyk implementation and language docs, platform administration, and scan-fix-and-prevent content.discover-snyk/whats-new.mdis intentionally left unchanged (auto-generated). Remaining double-nested links should appear only there after this PR.Reviewed by Cursor Bugbot for commit e8f4c8a. Bugbot is set up for automated code reviews on this repo. Configure here.