We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sections.json
use_cases
1 parent d52a70f commit 2cb2238Copy full SHA for 2cb2238
apps/svelte.dev/src/routes/docs/sections/+server.ts renamed to apps/svelte.dev/src/routes/docs/sections.json/+server.ts
@@ -8,7 +8,11 @@ export function GET() {
8
Object.fromEntries(
9
Object.entries(docs.pages).map(([key, page]) => [
10
key,
11
- { metadata: { title: page.metadata.title }, slug: page.slug, file: page.file }
+ {
12
+ metadata: { title: page.metadata.title, use_cases: page.metadata.use_cases },
13
+ slug: page.slug,
14
+ file: page.file
15
+ }
16
])
17
)
18
);
0 commit comments