Skip to content

Show YouTube quickstart parts as a sidebar drop-down - #124

Open
Roman-SE260 wants to merge 3 commits into
masterfrom
quickstart-sidebar-dropdown
Open

Roman-SE260 wants to merge 3 commits into
masterfrom
quickstart-sidebar-dropdown

Conversation

@Roman-SE260

Copy link
Copy Markdown
Collaborator

What this does

The YouTube quickstart is currently a single sidebar link with a "5 parts" badge. This turns it into a collapsible group (Overview plus the five parts) so each article is reachable from the sidebar. The group opens automatically on the overview page and on any part page, and stays closed elsewhere.

One file changed: astro.config.mjs (+8/-1). No page content changes.

Verified

  • pnpm build on top of current master: 221 pages, link validator clean
  • Built HTML: group is open on the overview and on a part page, closed on an unrelated guide
  • Not checked in a browser; please look at the preview

Note

This replaces the same commit I pushed to the old #120 branch after #120 had already merged; that push is not in master.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JjqwehnVjXiJM42zoC7Kea


Generated by Claude Code

Replaces the single sidebar link with a collapsible group (Overview plus
the five parts). The group opens automatically on the overview and on
any part page.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JjqwehnVjXiJM42zoC7Kea
@Roman-SE260
Roman-SE260 marked this pull request as ready for review October 14, 2026 15:33
Comment thread astro.config.mjs Outdated
] },
{ label: 'Guides', items: [
{ label: 'YouTube quickstart', slug: 'selive/guides/youtube-quickstart', badge: { text: '5 parts', variant: 'note' } },
{ label: 'YouTube quickstart', collapsed: true, badge: { text: '5 parts', variant: 'note' }, items: [

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The [5 parts] thing is unnecessary

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
docs 7180a01 Oct 14 2026, 04:01 PM

Uses the default badge variant for Beta and restyles it as a translucent
purple pill (values read from ui.streamelements.dev, same in light and
dark). The amber 'In dev' badge is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JjqwehnVjXiJM42zoC7Kea
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.

3 participants