Skip to content

Commit a65854d

Browse files
committed
Update astro.config.mjs to include custom content sets for llmstxt generation
1 parent c8d3b3d commit a65854d

File tree

1 file changed

+46
-1
lines changed

1 file changed

+46
-1
lines changed

astro.config.mjs

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,52 @@ export default defineConfig({
3939
customCss: ["./src/styles/custom.css"],
4040
routeMiddleware: ["./src/plugins/search-topic-middleware.ts"],
4141
plugins: [
42-
starlightLlmsTxt(),
42+
starlightLlmsTxt({
43+
pageSeparator: "\n-----\n",
44+
customSets: [
45+
{
46+
label: "General Information",
47+
description:
48+
"General Information about Duende products, including license information, support options, security best practices and a glossary.",
49+
paths: ["general/**"],
50+
},
51+
{
52+
label: "IdentityServer",
53+
description: "Documentation for Duende IdentityServer",
54+
paths: ["identityserver/**"],
55+
},
56+
{
57+
label: "IdentityServer Quickstarts",
58+
description:
59+
"Step-by-step tutorials to get started with Duende IdentityServer",
60+
paths: ["identityserver/quickstarts/**"],
61+
},
62+
{
63+
label: "BFF Security Framework",
64+
description:
65+
"Documentation for Duende's Backend for Frontend (BFF) framework, used to secure browser-based frontends (e.g. SPAs with React, Vue, Angular, or Blazor applications) with ASP.NET Core backends",
66+
paths: ["bff/**"],
67+
},
68+
{
69+
label: "Access Token Management",
70+
description:
71+
"Documentation for Duende's open-source Access Token Management library which provides automatic access token management features for .NET worker and ASP.NET Core web applications",
72+
paths: ["accesstokenmanagement/**"],
73+
},
74+
{
75+
label: "IdentityModel",
76+
description:
77+
"Documentation for Duende's open-source IdentityModel library which provides an object model to interact with the endpoints defined in the various OAuth and OpenId Connect specifications",
78+
paths: ["accesstokenmanagement/**"],
79+
},
80+
{
81+
label: "IdentityModel.OidcClient",
82+
description:
83+
"Documentation for Duende's open-source IdentityModel.OidcClient library which can be used to build OIDC native clients with a variety of .NET UI tools",
84+
paths: ["identitymodel-oidcclient/**"],
85+
},
86+
],
87+
}),
4388
starlightHeadingBadges(),
4489
starlightAutoSidebar(),
4590
starlightGiscus({

0 commit comments

Comments
 (0)