Repository navigation
Add a Managed Nebula note to the right sidebar - #411
Conversation
Most docs visitors land on the page they searched for and never see the homepage, which was the only place the hosted option was mentioned. Add a short text-only note under "On this page" so it's visible across the docs without interrupting the content. - New PageSidebar override renders the note below the TOC on desktop. - `managedPromo: false` frontmatter hides it on pages that already have their own callout (the docs homepage). - Tighten the homepage callout copy and inline its link. - Tag both signup links with UTMs (medium: callout / sidebar, content: page slug) so signups can be attributed by placement. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for docs-nebula ready!
|
jasikpark
left a comment
There was a problem hiding this comment.
Approving. One thing before merge: the rotating-CA guide already ends with its own Managed Nebula note (guides/rotating-certificate-authority/index.mdx ~L182), so it'll show both. Probably want managedPromo: false there, plus UTMs on that link (utm_medium=callout&utm_content=guides/rotating-certificate-authority) so it shows up in the per-placement numbers too.
Nit: the stale-cache comment on showPromo can go. !== false already reads right.
The footer overlap is fixed separately in #413.
— Caleb + Cache
The sidebar note now covers this page, so the end-of-guide pitch would repeat it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks! The rotating-CA callout is removed in 2020ff1 instead of opting that page out. The sidebar note is now the only pitch there, which keeps the page less salesy. Dropped the cache comment too. The push dismissed your approval, so it needs another look when you have a sec. |
Why
Many visitors land directly on the specific page they searched for (a config reference, a guide) and never see the docs homepage, which is currently the only place Managed Nebula is mentioned. They may not know there's a hosted option at all.
This adds a small, text-only note under "On this page" in the right sidebar so the hosted option is discoverable across the docs. The goal is to stay out of the way and avoid feeling spammy: no box, no image, no banner in the content flow, and it never repeats a callout that's already on the page.
What changed
Sidebar note (
src/components/starlight/PageSidebar.astro): a new override of Starlight'sPageSidebarthat renders the default TOC, then a three-line note below it:It reuses the site's sidebar classes, so its width and gutter match the TOC exactly.
Opt-out flag: a new
managedPromofrontmatter field (defaulttrue). The docs homepage sets it tofalse, since it already has its own callout.Rotating a CA guide: removed the "Sick of manually managing IP addresses…" callout at the end. The sidebar note covers that page now, so it would just repeat it.
Homepage callout: tightened copy (names the hosted lighthouse and who's behind it), and moved the link inline to make the box shorter.
UTMs on both signup links so signups can be attributed by placement:
utm_medium=callout&utm_content=docs-homeutm_medium=sidebar&utm_content=<page slug>utm_source=nebula-docs&utm_campaign=managed-nebulaWhere the note doesn't show
Notes for review
Testing
prettier --check,pnpm test, andastro checkpass.🤖 Generated with Claude Code