Skip to content

Update doc-rooted configs to avoid root index render clash, and more#2565

Merged
chalin merged 2 commits intogoogle:mainfrom
chalin:chalin-m24-doc-rooted-links-2026-0217
Feb 17, 2026
Merged

Update doc-rooted configs to avoid root index render clash, and more#2565
chalin merged 2 commits intogoogle:mainfrom
chalin:chalin-m24-doc-rooted-links-2026-0217

Conversation

@chalin
Copy link
Copy Markdown
Collaborator

@chalin chalin commented Feb 17, 2026

  • Contributes to Reintroduce support for doc-rooted sites #2504
  • Replace markdownify with $.Page.RenderString in layouts/_shortcodes/card.html for header, title, subtitle, and footer so shortcode content is rendered in the page context.

Preview: https://deploy-preview-2565--docsydocs.netlify.app/docs/content/shortcodes/#card-panes

@chalin chalin added this to the 0.15.0 milestone Feb 17, 2026
Replace markdownify with $.Page.RenderString in layouts/_shortcodes/card.html for header, title, subtitle, and footer so shortcode content is rendered in the page context. Update example card footer image links in docsy.dev/content/en/docs/content/shortcodes/index.md to use relative paths (card-pane/...) instead of the absolute /docs/content/shortcodes/... paths so images resolve correctly when rendered by the shortcode.
@chalin chalin merged commit 09a5d40 into google:main Feb 17, 2026
12 checks passed
@chalin chalin deleted the chalin-m24-doc-rooted-links-2026-0217 branch February 17, 2026 12:01
@chalin chalin mentioned this pull request Mar 1, 2026
10 tasks
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.

1 participant