Skip to content

Commit 61ce6ed

Browse files
authored
Merge pull request #479 from DeterminateSystems/llms-txt-other-projects
List other DetSys projects in llms*.txt
2 parents 720e797 + 016ad16 commit 61ce6ed

File tree

9 files changed

+51
-5
lines changed

9 files changed

+51
-5
lines changed

src/components/mdx/Admonition.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,9 @@ const {
8383
<span class="content" set:html={md(title)} />
8484
</span>
8585

86-
8786
<Icon
8887
name="heroicons:chevron-right"
89-
:class=`{ "rotate-90": open }`
88+
x-bind:class='{ "rotate-90": open }'
9089
class:list={[
9190
"size-3 transform duration-300 md:size-4 lg:size-5",
9291
danger && "text-red",

src/components/mdx/Languages.astro

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ const { languages } = site;
1616
languages.map((lang) => (
1717
<button
1818
@click={`language = "${lang}"`}
19-
class="rounded-lg dark:border-1.5 px-1.5 py-1 text-sm font-semibold tracking-tight focus:outline-none md:px-2 md:py-0.5 md:text-base lg:px-3 lg:py-1.5 lg:text-lg"
20-
21-
:class=`{ "border-primary bg-soft-gray dark:bg-darker-gray": language == "${lang}", "border-pale hover:text-primary dark:border-dark": language !== "${lang}" }`
19+
class="rounded-lg px-1.5 py-1 text-sm font-semibold tracking-tight focus:outline-none dark:border-1.5 md:px-2 md:py-0.5 md:text-base lg:px-3 lg:py-1.5 lg:text-lg"
20+
x-bind:class='{ "border-primary bg-soft-gray dark:bg-darker-gray": language == "${lang}", "border-pale hover:text-primary dark:border-dark": language !== "${lang}" }'
2221
>
2322
{lang}
2423
</button>

src/pages/llms-full.txt.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export const GET: APIRoute = async () => {
4040
content: body,
4141
})),
4242
otherFormats: [FORMATS.small, FORMATS.standard],
43+
projects: llms.otherProjects,
4344
});
4445

4546
return new Response(content, {

src/pages/llms-small.txt.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export const GET: APIRoute = async () => {
3030
title,
3131
})),
3232
otherFormats: [FORMATS.standard, FORMATS.full],
33+
projects: llms.otherProjects,
3334
});
3435

3536
return new Response(content, {

src/pages/llms.txt.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export const GET: APIRoute = async () => {
5454
href: `${root}/${conceptPagePath(slug)}`,
5555
})),
5656
otherFormats: [FORMATS.small, FORMATS.full],
57+
projects: llms.otherProjects,
5758
});
5859

5960
return new Response(content, {

src/site.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ type Site = {
3636
description: string;
3737
llms: {
3838
description: string;
39+
otherProjects: { title: string; description: string; href: string }[];
3940
};
4041
githubUrl: string;
4142
languages: Language[];
@@ -58,6 +59,26 @@ export const site: Site = {
5859
llms: {
5960
description:
6061
"Zero to Nix is a flake-centric resource for learning Nix created by [Determinate Systems](https://determinate.systems/llms.txt). It takes you on a [learning journey](#start-pages) from installing Nix to exploring Nix development environments to building Nix packages and more. It also offers a series of [concept pages](#concept-pages) covering some of the trickier corners of Nix.",
62+
otherProjects: [
63+
{
64+
title: "FlakeHub",
65+
description:
66+
"FlakeHub is a platform for publishing and discovering Nix flakes and Nix artifacts, featuring semantic versioning, private flakes with federated, JWT-based authentication, flake discovery via search, labels, and other means, and next-generation Nix binary caching with FlakeHub Cache.",
67+
href: "https://flakehub.com/llms.txt",
68+
},
69+
{
70+
title: "Determinate documentation",
71+
description:
72+
"Determinate is Nix for teams: Stop wrestling with binary caches, reinventing deploy scripts, and figuring out access controls. Confidently adopt and scale Nix across teams of any size.",
73+
href: "https://docs.determinate.systems/llms.txt",
74+
},
75+
{
76+
title: "Determinate Systems website",
77+
description:
78+
"Our goal for Determinate is to enable fearless innovation by bringing Nix to teams, providing a complete Nix-based workflow from installation through collaboration and CI to deployment.",
79+
href: "https://determinate.systems/llms.txt",
80+
},
81+
],
6182
},
6283
githubUrl: "https://github.com/DeterminateSystems/zero-to-nix",
6384
languages: ["C++", "Go", "Haskell", "JavaScript", "Python", "Rust", "Scala"],

src/templates/llms-full.txt.hbs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,11 @@ For additional LLM-oriented manifests, see also:
5353
{{#each otherFormats}}
5454
- [`{{this.file}}`]({{root}}/{{this.file}}) ({{this.description}})
5555
{{/each}}
56+
57+
## Other Determinate Systems projects
58+
59+
These other projects under the Determinate Systems umbrella have their own LLM-oriented manifests:
60+
61+
{{#each projects}}
62+
- [{{{this.title}}}]({{this.href}}) ({{{this.description}}})
63+
{{/each}}

src/templates/llms-small.txt.hbs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,11 @@ For additional LLM-oriented manifests, see also:
2525
{{#each otherFormats}}
2626
- [`{{this.file}}`]({{root}}/{{this.file}}) ({{this.description}})
2727
{{/each}}
28+
29+
## Other Determinate Systems projects
30+
31+
These other projects under the Determinate Systems umbrella have their own LLM-oriented manifests:
32+
33+
{{#each projects}}
34+
- [{{{this.title}}}]({{this.href}}) ({{{this.description}}})
35+
{{/each}}

src/templates/llms.txt.hbs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,11 @@ For additional LLM-oriented manifests, see also:
2929
{{#each otherFormats}}
3030
- [`{{this.file}}`]({{root}}/{{this.file}}) ({{this.description}})
3131
{{/each}}
32+
33+
## Other Determinate Systems projects
34+
35+
These other projects under the Determinate Systems umbrella have their own LLM-oriented manifests:
36+
37+
{{#each projects}}
38+
- [{{{this.title}}}]({{this.href}}) ({{{this.description}}})
39+
{{/each}}

0 commit comments

Comments
 (0)