Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Doc Blocks for Astro

Astro reference-page layouts with contents links and previous/next navigation.

Guide

Use a reading column with contents links, a callout, and previous and next navigation.

Prepare a weekly project review

A sample guide for a fictional planning service, with local contents links and reading navigation.

Prepare the review

Gather the current project brief, the open task list, and the notes from your previous review. Check that each document describes the same milestone before you invite the team.

Discuss open questions

Start the discussion with questions that prevent progress. Decide which questions can be answered now and assign the remaining checks to a named person. Record the reason for each decision.

When the question list is empty

When there are no open questions, use the time to check unfinished tasks. Confirm whether each task still belongs in the current milestone rather than adding work to fill the meeting.

Agree on next actions

Close the review with a short list of actions. Give each action an owner, a next step, and a date for the next check. Share the notes with anyone who could not attend.

bunx --bun shadcn@latest add @gnostic/doc-1
npx shadcn@latest add @gnostic/doc-1
pnpm dlx shadcn@latest add @gnostic/doc-1

Choose a doc layout

Choose a doc layout for material that readers will scan and revisit. Keep the title specific and organize the body into stable headings that can be linked directly.

Pass content from Astro

Pass the title, description, table-of-contents items, labels, and navigation links required by the variant. The copy button reads the current page path and copies the text from that path with a .md extension. The block does not discover collections, create routes, or infer heading IDs.

Responsive layout and images

Check the contents list when the layout becomes one column. Wide code and tables need their own overflow handling. Images in the body need dimensions and descriptive alt text; avoid using screenshots as the only source of instructions.