mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 02:43:48 +02:00
Add LLMs page
This commit is contained in:
@@ -35,6 +35,7 @@ export default withMermaid({
|
||||
nav: [
|
||||
{ text: 'Guide', link: '/guide/introduction', activeMatch: '/guide' },
|
||||
{ text: 'API', link: '/api', activeMatch: '/api' },
|
||||
{ text: 'LLMs', link: '/llms', activeMatch: '/llms' },
|
||||
{ text: 'Examples', link: '/examples', activeMatch: '/examples' },
|
||||
{ text: 'Sponsors', link: '/#sponsors', activeMatch: '/#sponsors' },
|
||||
{ text: 'License', link: 'https://github.com/Vanilagy/mediabunny#license' },
|
||||
@@ -121,7 +122,11 @@ export default withMermaid({
|
||||
plugins: [
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
tailwindcss() as any,
|
||||
llmstxt(),
|
||||
llmstxt({
|
||||
ignoreFiles: [
|
||||
'api/*',
|
||||
],
|
||||
}),
|
||||
],
|
||||
},
|
||||
outDir: '../dist-docs',
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 80 KiB |
@@ -0,0 +1,28 @@
|
||||
# Mediabunny and LLMs
|
||||
|
||||
<div class="grid place-items-center my-14">
|
||||
<div class="relative">
|
||||
<div class="absolute top-0 left-0 size-full rounded-full" style="background: var(--vp-home-hero-image-background-image); filter: var(--vp-home-hero-image-filter)"></div>
|
||||
<img src="./assets/mediarobot.svg" width="250" class="relative">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
While Mediabunny is proudly human-coded, we want to encourage any and all usage of Mediabunny, even when the vibes are high.
|
||||
|
||||
Mediabunny is still new and is unlikely to be in the training data of modern LLMs, but we can still make the AI perform extremely well but just giving it a little more context.
|
||||
|
||||
---
|
||||
|
||||
Give one or more of these files to your LLM:
|
||||
|
||||
### [mediabunny.d.ts](/mediabunny.d.ts)
|
||||
|
||||
This file contains the entire public TypeScript API of Mediabunny and is commented extremely thoroughly.
|
||||
|
||||
### [llms.txt](/llms.txt)
|
||||
|
||||
This file provides an index of Mediabunny's guide, which the AI can then further dive into if it wants to.
|
||||
|
||||
### [llms_full.txt](/llms-full.txt)
|
||||
|
||||
This is just the entire Mediabunny guide in a single file.
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
"check": "tsc -p src --noEmit && tsc -p packages/mp3-encoder/src --noEmit && tsc -p scripts --noEmit && tsc -p tsconfig.vite.json --noEmit && rm tsconfig.vite.tsbuildinfo",
|
||||
"check-docblocks": "tsx scripts/check-docblocks.ts dist/mediabunny.d.ts",
|
||||
"docs:dev": "vitepress dev docs",
|
||||
"docs:build": "npm run docs:generate && vitepress build docs && npm run examples:build",
|
||||
"docs:build": "npm run build && npm run docs:generate && vitepress build docs && npm run examples:build && cp dist/mediabunny.d.ts dist-docs/",
|
||||
"docs:preview": "vitepress preview docs",
|
||||
"docs:generate": "tsx scripts/generate-api-docs.ts src/index.ts packages/mp3-encoder/src/index.ts docs/api-config.json",
|
||||
"dev": "vite",
|
||||
|
||||
Reference in New Issue
Block a user