Repository navigation
fix(guides): keep sidekick library links pointing at the block collection - #1131
Open
dylandepass wants to merge 1 commit into
Open
dylandepass wants to merge 1 commit into
dylandepass wants to merge 1 commit into
Conversation
|
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
Commits
|
…tion The pipeline relativizes absolute aem.page/aem.live links, which turned the Sidekick Library link into a 404 on this site. Restore it to the sidekick-library branch (keeping the query string) next to the existing block-collection restore, and apply the restore to every link in main instead of only .content, which most sections do not have (e.g. /docs/faq).
dylandepass
force-pushed
the
fix-sidekick-library-links
branch
from
October 6, 2026 17:29
00975fc to
ba18455
Compare
rofe
approved these changes
Oct 6, 2026
This branch was successfully deployed
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.
The pipeline relativizes absolute
aem.page/aem.livelinks, which turned the Sidekick Library link into a 404 on this site. Restore it to thesidekick-librarybranch (keeping the query string) next to the existing block-collection restore, and apply the restore to every link inmaininstead of only.content, which most sections do not have (e.g./docs/faq).Example link:
https://sidekick-library--aem-block-collection--adobe.aem.page/tools/sidekick/library.html?plugin=blocks&path=/block-collection/embed&index=0, which the pipeline rewrites to/tools/sidekick/library.html?plugin=blocks&path=/block-collection/embed&index=0.Notes:
sidekick-librarybranch of the block collection (mainreturns 404), so that ref is hardcoded..contentcomes from section metadata. On/docs/faqonly the hero section has it, so the previous.content aselector matched none of the page links (including the existing/block-collection/rule). The restore now runs overmain a[href].targetis still set on every link inside.content; outside.contentit is only set on restored links, so other links on guides/skills pages are unchanged.Test: new unit tests in
tests/utils/helpers.test.js(including a fixture that mirrors the/docs/faqstructure);npm run lintandnpm testpass.Preview: https://fix-sidekick-library-links--aem-website--adobe.aem.page/docs/faq