Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| The webhooks empty state is a sentence, without an icon squeezed to a dot on phones | 1 | /** |
| 2 | * The tabs under the header. Each shows its own part of the sidebar: the | |
| Merge the docs' new look: tabs for each section with their own short sidebar, a larger title under its section, a lavender pill for the current page, links in the text's colour on a lavender underline, On this page on a rail, and a header whose right side is g1t.sh, Source, Sign up and one theme button. | 3 | * groups named in its `groups`, in the sidebar's order. A page belongs to |
| 4 | * the tab holding its group; the home page, in no group, to the first. | |
| 5 | * The API reference tab takes every group not named here, since the | |
| 6 | * operations' groups are named after the API's tags. | |
| The webhooks empty state is a sentence, without an icon squeezed to a dot on phones | 7 | */ |
| Merge the docs' new look: tabs for each section with their own short sidebar, a larger title under its section, a lavender pill for the current page, links in the text's colour on a lavender underline, On this page on a rail, and a header whose right side is g1t.sh, Source, Sign up and one theme button. | 8 | export type Tab = { label: string; groups: string[] }; |
| The webhooks empty state is a sentence, without an icon squeezed to a dot on phones | 9 | |
| 10 | export const TABS: Tab[] = [ | |
| Merge the docs' new look: tabs for each section with their own short sidebar, a larger title under its section, a lavender pill for the current page, links in the text's colour on a lavender underline, On this page on a rail, and a header whose right side is g1t.sh, Source, Sign up and one theme button. | 11 | { label: 'Get started', groups: ['Get started', 'About'] }, |
| The docs describe g1t as the place your coding agents work, not as an agent of its own. The guides to g1t's hosted agents are gone: agents, their abilities, access, budgets, memory, routines, sessions and skills, talking to agents, working with g1t, Customize, model providers, the AI Gateway, the context hub, spend, plans and the chat app's agent pages. Each old address redirects to the page that now covers what is left of it. | 12 | { label: 'Coding agents', groups: ['Coding agents'] }, |
| 13 | { label: 'Chat', groups: ['Chat'] }, | |
| Merge the docs' new look: tabs for each section with their own short sidebar, a larger title under its section, a lavender pill for the current page, links in the text's colour on a lavender underline, On this page on a rail, and a header whose right side is g1t.sh, Source, Sign up and one theme button. | 14 | { label: 'Code', groups: ['Landing changes', 'Security'] }, |
| 15 | { label: 'Projects', groups: ['Projects'] }, | |
| 16 | { label: 'Workspaces', groups: ['Workspaces', 'Connect your tools'] }, | |
| 17 | { label: 'Self-hosting', groups: ['Run g1t yourself'] }, | |
| architecture and such | 18 | { label: 'Architecture', groups: ['Architecture'] }, |
| Merge the docs' new look: tabs for each section with their own short sidebar, a larger title under its section, a lavender pill for the current page, links in the text's colour on a lavender underline, On this page on a rail, and a header whose right side is g1t.sh, Source, Sign up and one theme button. | 19 | { label: 'API reference', groups: [] }, |
| The webhooks empty state is a sentence, without an icon squeezed to a dot on phones | 20 | ]; |
| 21 | ||
| Merge the docs' new look: tabs for each section with their own short sidebar, a larger title under its section, a lavender pill for the current page, links in the text's colour on a lavender underline, On this page on a rail, and a header whose right side is g1t.sh, Source, Sign up and one theme button. | 22 | const API = TABS[TABS.length - 1]; |
| 23 | ||
| 24 | /** The tab that holds the sidebar group with this label. */ | |
| 25 | export function tabForGroup(label: string): Tab { | |
| 26 | return TABS.find((tab) => tab.groups.includes(label)) ?? API; | |
| The webhooks empty state is a sentence, without an icon squeezed to a dot on phones | 27 | } |
This file's history is long; its oldest lines are credited to the oldest commit read.