When clicking the Library button in the Sidekick extension, you’ll navigate to /tools/sidekick/library.html. This URL is available on all market websites, but no documentation files are present on market websites.
On market websites, we might want to add market-specific documentation.
From every market website I can click the Library button from the in the Sidekick extension
Clicking the Library button brings me to up-to-date documentation
Non-functional AC:
The Access-Control-Allow-Origin headers will need to be set on the library.json and blocks of the extended library in order for them to load in the sidekick library.
Market-specific block documentation can be added
There should be a check on whether to load the Block Library contents from the main Library
Context/Description
When clicking the Library button in the Sidekick extension, you’ll navigate to
/tools/sidekick/library.html
. This URL is available on all market websites, but no documentation files are present on market websites.On market websites, we might want to add market-specific documentation.
See for example https://main--vg-macktrucks-com-au--hlxsites.hlx.page/tools/sidekick/library.html, compared to https://main--vg-macktrucks-com--hlxsites.hlx.page/tools/sidekick/library.html
Acceptance Criteria
Editor AC:
Non-functional AC:
Out of scope
No response
Note
No response
Technical details
By using the
extends
parameter, we can refer to the original https://github.com/adobe/franklin-sidekick-library?tab=readme-ov-file#extended-librariesAttachment / link to Figma
No response