diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aae7a8f..bbab282 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -81,7 +81,7 @@ latest release of each docset only), and `scripts/website.mjs` indexes the website pages into `/pagefind-website/`. When built with `WEBSITE=1`, as Netlify and `mise run website` do, search merges the two, with the website pages at half weight so they don't outrank the docs. Each page records its section -(Core, Go SDK, Community) as Pagefind metadata, which the results show as a +(such as Core or Community) as Pagefind metadata, which the results show as a label. ## Markdown for agents diff --git a/README.md b/README.md index 76a7d3a..1ddf1f8 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ the docs, such as the landing page, in [`website/`](website/). | Docset | Repository | Path | Dev branch | | --------- | ------------------------------------------------------------------- | ----------- | ---------- | | OpenShell | [ai-openshell/openshell](https://github.com/ai-openshell/openshell) | `docs/` | `main` | -| Go SDK | [ai-openshell/sdk-go](https://github.com/ai-openshell/sdk-go) | `docs/src/` | `main` | ## How it works @@ -21,7 +20,7 @@ branch, checks every link, and builds the docs with [Starlight](https://starlight.astro.build/). The newest release of each repository is published without a version in the URL, such as `/docs/about/overview/`; other versions have their own path, such as -`/docs/0.1.8/about/overview/` or `/docs/sdks/go/dev/`. +`/docs/0.1.8/about/overview/` or `/docs/dev/about/overview/`. The website serves the landing page and the community page at `/` and the docs at `/docs/`, all with one site bar and one search. Every page also has a diff --git a/site/src/components/overrides/Header.astro b/site/src/components/overrides/Header.astro index 3d5a9a7..46cfd4a 100644 --- a/site/src/components/overrides/Header.astro +++ b/site/src/components/overrides/Header.astro @@ -1,6 +1,7 @@ --- // SPDX-License-Identifier: Apache-2.0 -// Header: the site bar, then topic tabs, then (in topics with an overview page) +// Header: the site bar, then topic tabs (when there are several topics), then +// (in topics with an overview page) // sub-tabs for the overview and each docset. The site bar (wordmark, site // links, search, GitHub, theme) is theme/site-bar.mjs, shared with the website // pages, so it is the same markup, styles, and scripts everywhere. @@ -37,11 +38,13 @@ const subtabs = ds