mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
initial commit (#11711)
This commit is contained in:
parent
74522ffc82
commit
1f19abb62c
1
docs/.gitignore
vendored
1
docs/.gitignore
vendored
@ -8,6 +8,7 @@
|
||||
.docusaurus
|
||||
.cache-loader
|
||||
llms.txt
|
||||
llms-full.txt
|
||||
|
||||
# Misc
|
||||
.DS_Store
|
||||
|
||||
@ -2,6 +2,7 @@ import { themes as prismThemes } from "prism-react-renderer"
|
||||
import type { Config } from "@docusaurus/types"
|
||||
import type * as Preset from "@docusaurus/preset-classic"
|
||||
import { redirects } from "./redirects"
|
||||
import { LLMsTXTPluginOptions } from "@signalwire/docusaurus-plugin-llms-txt"
|
||||
|
||||
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
|
||||
|
||||
@ -197,7 +198,33 @@ const config: Config = {
|
||||
redirects,
|
||||
},
|
||||
],
|
||||
"@signalwire/docusaurus-plugin-llms-txt",
|
||||
[
|
||||
"@signalwire/docusaurus-plugin-llms-txt",
|
||||
{
|
||||
content: {
|
||||
// https://www.npmjs.com/package/@signalwire/docusaurus-plugin-llms-txt#content-selectors
|
||||
contentSelectors: [
|
||||
".theme-doc-markdown", // Docusaurus main content area
|
||||
"main .container .col", // Bootstrap-style layout
|
||||
"main .theme-doc-wrapper", // Docusaurus wrapper
|
||||
"article", // Semantic article element
|
||||
"main .container", // Broader container
|
||||
"main", // Fallback to main element
|
||||
".code-example",
|
||||
],
|
||||
enableLlmsFullTxt: true,
|
||||
includeGeneratedIndex: false,
|
||||
includePages: true,
|
||||
includeVersionedDocs: false,
|
||||
relativePaths: false,
|
||||
},
|
||||
depth: 3,
|
||||
onRouteError: "throw",
|
||||
siteTitle: "TypeORM",
|
||||
siteDescription:
|
||||
"TypeORM is an ORM that can run in NodeJS, Browser, Cordova, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript.",
|
||||
} satisfies LLMsTXTPluginOptions,
|
||||
],
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user