8000 feat: Auto-generate llms.txt and llms-full.txt by kingsword09 · Pull Request #125 · gobley/gobley · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: Auto-generate llms.txt and llms-full.txt #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import fs from "node:fs";
import path from "node:path";
import { themes as prismThemes } from "prism-react-renderer";
import type { Config } from "@docusaurus/types";
import type * as Preset from "@docusaurus/preset-classic";
import type { PluginOptions } from "docusaurus-plugin-llms-builder";
import packageJson from "./package.json";

// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)

Expand Down Expand Up @@ -31,6 +35,33 @@ const config: Config = {
locales: ["en"],
},

plugins: [
[
"docusaurus-plugin-llms-builder",
{
version: packageJson.version,
llmConfigs: [
{
title: "Gobley",
description: "Embed Rust into your Kotlin Multiplatform project",
summary: fs.readFileSync(path.join(__dirname, "..", "README.md&q 760A uot;), {
encoding: "utf-8",
}),
sessions: [
{
type: "docs",
docsDir: "docs",
sessionName: "Docs",
},
],
generateLLMsTxt: true,
generateLLMsFullTxt: true,
},
],
} as PluginOptions,
],
],

presets: [
[
"classic",
Expand Down
Loading
0