Skip to content

Commit eae79a2

Browse files
authored
Point humble, jazzy, lyrical and rolling to RoboStack/robostack and deprecate the rest (#206)
* Point humble, jazzy, lyrical and rolling links to robostack-distros These four distributions are moving into the robostack-distros monorepo (RoboStack/robostack#54). Link their distro pages, issue links and contributing instructions there; Noetic, Kilted and the EOL distros keep their own repositories. * Use RoboStack/robostack and mark the other distros deprecated The monorepo will live at RoboStack/robostack. Noetic, Kilted, Galactic and Foxy are not moving into it and are no longer maintained, so say so on their distro pages, the support page and the contributing guide. * Add a page explaining the move to the RoboStack monorepo Users land on distro pages, Getting Started, Support and Contributing without knowing the repositories changed. Explain the move and the deprecation of Noetic, Kilted, Galactic and Foxy on one page, and link to it from an admonition on each of those pages. * Write the monorepo page so it still reads well later Drop "until now" and "nothing changes" phrasing that only makes sense right after the move; describe the setup as it is, and the move as something that happened in 2026. * List the monorepo page under Docs and shorten the notice The page explains where packages come from, so it belongs with the docs; it stays cross-listed under Community. The notice only needs to point to the move; the page itself covers the deprecated distros. * List every page in exactly one navigation section Contributing was in the Docs sidebar and the monorepo page in the Community sidebar, while the header highlighted the other tab for them. Clicking such an entry switched the header tab and the sidebar under you. Keep each page only in the group of the tab that highlights it. * Label the distro page's GitHub link "Distro config" The repository name is the same for every maintained distro now, so it no longer tells the reader anything; the link goes to the distro's own folder. The repository is still named in the tooltip. * Make the monorepo note a reusable component The same note was copied into Getting Started, Support and Contributing, with a variant on the distro pages. MonorepoNote renders both, and takes the list of maintained distros from distros.ts, so the wording lives in one place. Support and Contributing become .mdx to use it. * Explain how to build a single package from the monorepo A full build takes hours; contributors working on one patch only need build-one. Document the generate-recipes step, the build number bump an already published package needs, and where the output ends up. Also drop the build steps for the deprecated distros. * Apply suggestion from @ruben-arts * Adding packages updated
1 parent f2b7d47 commit eae79a2

11 files changed

Lines changed: 424 additions & 122 deletions

File tree

‎astro.config.mjs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ export default defineConfig({
6363
sidebar: [
6464
// One top-level group per header tab (src/components/Header.astro);
6565
// the Sidebar override shows only the current page's group, so these
66-
// group labels never render. Slugs are set explicitly in each page's
66+
// group labels never render. List each page in exactly one group, the
67+
// one whose tab nav.ts highlights for it, so the sidebar and the
68+
// header tabs never disagree. Slugs are set explicitly in each page's
6769
// frontmatter to keep the published mixed-case URLs
6870
// (`GettingStarted.html`, `FAQ.html`, ...).
6971
{
@@ -79,9 +81,7 @@ export default defineConfig({
7981
},
8082
{ label: "JupyterRos", slug: "JupyterRos" },
8183
{ label: "FAQ", slug: "FAQ" },
82-
// Cross-listed; its primary section is Community (the last
83-
// group containing a page wins in the Sidebar override).
84-
{ label: "Contributing", slug: "Contributing" },
84+
{ label: "RoboStack monorepo", slug: "Monorepo" },
8585
],
8686
},
8787
{

‎src/components/DistroHead.astro‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ const { distro } = Astro.props;
2424
</h1>
2525
<p class="support">{supportLine(distro)}</p>
2626
</div>
27-
<!-- The label is spelled out for screen readers because the repo name is
27+
<!-- The label is spelled out for screen readers because the visible text is
2828
dropped on narrow screens, where the mark alone carries the link. -->
2929
<a
3030
class="repo"
3131
href={repoUrl(distro)}
32-
aria-label={`${repoName(distro)} on GitHub`}
33-
title={`The recipes that build the ${distro.channel} channel`}
32+
aria-label={`${title(distro)} distro config on GitHub`}
33+
title={`The recipes in ${repoName(distro)} that build the ${distro.channel} channel`}
3434
>
3535
<span class="repo__icon" aria-hidden="true"></span>
36-
<span class="repo__name">{repoName(distro)}</span>
36+
<span class="repo__name">Distro config</span>
3737
</a>
3838
</div>
3939

‎src/components/MonorepoNote.astro‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
import { Aside } from "@astrojs/starlight/components";
3+
import type { Distro } from "../data/distros";
4+
import { DISTROS, isDeprecated, repoUrl, title } from "../data/distros";
5+
6+
/**
7+
* The "RoboStack is now a monorepo" note, linking to /Monorepo.html. Shown on
8+
* the docs pages and on the distro pages of the maintained distros; pass
9+
* `distro` on a distro page to word it for that one and link its folder.
10+
*/
11+
interface Props {
12+
distro?: Distro;
13+
}
14+
15+
const { distro } = Astro.props;
16+
17+
// "Humble, Jazzy, Lyrical and Rolling", in the order of distros.json.
18+
const names = DISTROS.filter((d) => !isDeprecated(d)).map(title);
19+
const maintained = `${names.slice(0, -1).join(", ")} and ${names.at(-1)}`;
20+
---
21+
22+
<Aside title="RoboStack is now a monorepo">
23+
{distro ? (
24+
<p>
25+
{title(distro)} is now built from{" "}
26+
<a href={repoUrl(distro)}>RoboStack/robostack</a>, together with the other
27+
maintained distributions. <a href="/Monorepo.html">Read what changed</a>.
28+
</p>
29+
) : (
30+
<p>
31+
{maintained} are now built from one repository,{" "}
32+
<a href="https://github.com/RoboStack/robostack">RoboStack/robostack</a>.{" "}
33+
<a href="/Monorepo.html">Read what changed</a>.
34+
</p>
35+
)}
36+
</Aside>

‎src/content/docs/Contributing.md‎

Lines changed: 0 additions & 93 deletions
This file was deleted.

0 commit comments

Comments
 (0)