Skip to content

Commit be88021

Browse files
authored
feat(docs): enhance documentation generation and URL handling (#1378)
1 parent e96d049 commit be88021

5 files changed

Lines changed: 872 additions & 51 deletions

File tree

docusaurus.config.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ const config: Config = {
285285
llmsFullTxtFilename: "llms-full.txt",
286286
// curation
287287
includeOrder: [
288+
"1-intro.mdx",
288289
"**/network/**/*.mdx",
289290
"**/network/**/*.md",
290291
"**/ftso/**/*.mdx",
@@ -293,6 +294,12 @@ const config: Config = {
293294
"**/fdc/**/*.md",
294295
"**/fassets/**/*.mdx",
295296
"**/fassets/**/*.md",
297+
"**/fxrp/**/*.mdx",
298+
"**/fxrp/**/*.md",
299+
"**/smart-accounts/**/*.mdx",
300+
"**/smart-accounts/**/*.md",
301+
"**/fcc/**/*.mdx",
302+
"**/fcc/**/*.md",
296303
"**/run-node/**/*.mdx",
297304
"**/run-node/**/*.md",
298305
"**/support/**/*.mdx",
@@ -344,6 +351,33 @@ const config: Config = {
344351
description:
345352
"FAssets concepts, integration guides, and API/Solidity references",
346353
},
354+
{
355+
filename: "llms-fxrp.txt",
356+
includePatterns: ["**/fxrp/**/*.mdx", "**/fxrp/**/*.md"],
357+
fullContent: true,
358+
title: "FXRP Documentation",
359+
description:
360+
"FXRP utility on Flare, including Firelight/Upshift vaults, OFT auto-mint/redeem, and token interactions",
361+
},
362+
{
363+
filename: "llms-smart-accounts.txt",
364+
includePatterns: [
365+
"**/smart-accounts/**/*.mdx",
366+
"**/smart-accounts/**/*.md",
367+
],
368+
fullContent: true,
369+
title: "Flare Smart Accounts Documentation",
370+
description:
371+
"Account abstraction for XRPL users interacting with Flare, including the MasterAccountController, custom instructions, and CLI guides",
372+
},
373+
{
374+
filename: "llms-fcc.txt",
375+
includePatterns: ["**/fcc/**/*.mdx", "**/fcc/**/*.md"],
376+
fullContent: true,
377+
title: "Flare Confidential Compute Documentation",
378+
description:
379+
"Flare Confidential Compute (FCC) concepts and integration guides using Trusted Execution Environments",
380+
},
347381
{
348382
filename: "llms-node-operators.txt",
349383
includePatterns: ["**/run-node/**/*.mdx", "**/run-node/**/*.md"],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"start": "docusaurus start",
88
"automations": "chmod +x run-automations.sh && ./run-automations.sh",
99
"update-deps": "chmod +x update-deps.sh && ./update-deps.sh",
10-
"build": "docusaurus build && node scripts/fix-llms-urls.mjs",
10+
"build": "docusaurus build && node scripts/generate-md-routes.mjs && node scripts/fix-llms-urls.mjs && node scripts/inject-html-llms-tags.mjs",
1111
"swizzle": "docusaurus swizzle",
1212
"deploy": "docusaurus deploy",
1313
"deploy:mcp": "npx wrangler deploy --config cloudflare-mcp/wrangler.toml",

0 commit comments

Comments
 (0)