Commit b21dd18
docs: add section eyebrow text above page H1 (#45)
* docs: add section eyebrow text above page H1
Show the current topic label (e.g. TERMINAL, AGENTS, ENTERPRISE)
as a small uppercase eyebrow above the H1 on every page. Helps
orient readers who land directly from search without sidebar context.
Derived from starlightSidebarTopics middleware (same data as the
header topic nav). Styled with accent blue, xs font, 600 weight,
and 0.08em letter-spacing matching the sidebar tier-1 treatment.
Co-Authored-By: Oz <oz-agent@warp.dev>
* docs: upgrade eyebrow to 2-level breadcrumb (topic + parent group)
Walk the sidebar tree to find the immediate parent group of the
current page and show it as a breadcrumb: 'AGENTS > THIRD-PARTY
CLI AGENTS' instead of just 'AGENTS'. Falls back to topic-only
when the page is at the top level of its topic. Truncated to 2
levels max to keep the eyebrow short.
Co-Authored-By: Oz <oz-agent@warp.dev>
---------
Co-authored-by: Oz <oz-agent@warp.dev>1 parent abe624e commit b21dd18
1 file changed
Lines changed: 42 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
16 | 46 | | |
17 | 47 | | |
| 48 | + | |
18 | 49 | | |
19 | 50 | | |
20 | 51 | | |
| |||
29 | 60 | | |
30 | 61 | | |
31 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
32 | 73 | | |
33 | 74 | | |
34 | 75 | | |
35 | | - | |
| 76 | + | |
36 | 77 | | |
37 | 78 | | |
38 | 79 | | |
| |||
0 commit comments