@rimelight/seo 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +6 -38
- package/dist/index.mjs +5 -176
- package/dist/integration.d.mts +23 -0
- package/dist/integration.mjs +33 -0
- package/dist/llms-BVLxzjr-.d.mts +41 -0
- package/dist/llms.d.mts +2 -0
- package/dist/llms.mjs +75 -0
- package/dist/meta.d.mts +42 -0
- package/dist/meta.mjs +66 -0
- package/dist/robots.d.mts +3 -4
- package/dist/routes/llms.txt.d.mts +4 -0
- package/dist/routes/llms.txt.mjs +20 -0
- package/dist/routes/robots.txt.d.mts +4 -0
- package/dist/routes/robots.txt.mjs +18 -0
- package/dist/routes/sitemap.xml.d.mts +4 -0
- package/dist/routes/sitemap.xml.mjs +13 -0
- package/dist/schema-C8v69blQ.d.mts +28 -0
- package/dist/schema.d.mts +2 -0
- package/dist/schema.mjs +52 -0
- package/dist/sitemap.d.mts +6 -7
- package/dist/types.d.mts +277 -2
- package/package.json +10 -5
- package/src/components/SEOHead.astro +74 -21
- package/src/env.d.ts +8 -0
- package/src/index.ts +42 -0
- package/src/integration.ts +74 -0
- package/src/llms.test.ts +61 -0
- package/src/llms.ts +124 -0
- package/src/meta.test.ts +134 -0
- package/src/meta.ts +100 -0
- package/src/robots.test.ts +75 -0
- package/src/robots.ts +59 -0
- package/src/routes/llms.txt.ts +22 -0
- package/src/routes/robots.txt.ts +20 -0
- package/src/routes/sitemap.xml.ts +16 -0
- package/src/schema.test.ts +45 -0
- package/src/schema.ts +96 -0
- package/src/sitemap.test.ts +191 -0
- package/src/sitemap.ts +166 -0
- package/src/types.ts +281 -0
- package/dist/types-Ck_Zs5Ws.d.mts +0 -301
package/src/types.ts
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Change frequency for sitemap entries
|
|
3
|
+
*/
|
|
4
|
+
export type ChangeFreq = "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never"
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* SEO entry — a single page to include in sitemaps
|
|
8
|
+
*/
|
|
9
|
+
export interface SeoEntry {
|
|
10
|
+
/**
|
|
11
|
+
* Locale-less path, e.g. "/company/blog/hello". Leading slash required.
|
|
12
|
+
*/
|
|
13
|
+
path: string
|
|
14
|
+
lastmod?: Date
|
|
15
|
+
changefreq?: ChangeFreq
|
|
16
|
+
priority?: number
|
|
17
|
+
/**
|
|
18
|
+
* Restrict to a subset of locales; defaults to all configured locales.
|
|
19
|
+
*/
|
|
20
|
+
locales?: readonly string[]
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Locale configuration for SEO builders
|
|
25
|
+
*/
|
|
26
|
+
export interface LocaleConfig {
|
|
27
|
+
/**
|
|
28
|
+
* Absolute origin, e.g. "https://rimelight.com"
|
|
29
|
+
*/
|
|
30
|
+
site: string
|
|
31
|
+
/**
|
|
32
|
+
* Map of locale segment -> hreflang, e.g. { en: "en-US", pt: "pt-BR" }
|
|
33
|
+
*/
|
|
34
|
+
locales: Record<string, string>
|
|
35
|
+
defaultLocale: string
|
|
36
|
+
/**
|
|
37
|
+
* Emit the default locale without a prefix. Default: false.
|
|
38
|
+
*/
|
|
39
|
+
prefixDefaultLocale?: boolean
|
|
40
|
+
trailingSlash?: "always" | "never"
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Fully resolved sitemap URL with alternates
|
|
45
|
+
*/
|
|
46
|
+
export interface SitemapUrl {
|
|
47
|
+
loc: string
|
|
48
|
+
lastmod?: string
|
|
49
|
+
changefreq?: ChangeFreq
|
|
50
|
+
priority?: number
|
|
51
|
+
alternates?: SitemapAlternate[]
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Language alternate for a sitemap URL
|
|
56
|
+
*/
|
|
57
|
+
export interface SitemapAlternate {
|
|
58
|
+
hreflang: string
|
|
59
|
+
href: string
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Options for robots.txt generation
|
|
64
|
+
*/
|
|
65
|
+
export interface RobotsOptions {
|
|
66
|
+
/**
|
|
67
|
+
* The sitemap URL to reference
|
|
68
|
+
*/
|
|
69
|
+
sitemapUrl: string
|
|
70
|
+
/**
|
|
71
|
+
* Paths to disallow for all user agents
|
|
72
|
+
*/
|
|
73
|
+
disallow?: string[]
|
|
74
|
+
/**
|
|
75
|
+
* Paths to allow for all user agents
|
|
76
|
+
*/
|
|
77
|
+
allow?: string[]
|
|
78
|
+
/**
|
|
79
|
+
* User-agent specific rules
|
|
80
|
+
*/
|
|
81
|
+
userAgentRules?: UserAgentRule[]
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* User-agent specific robots.txt rule
|
|
86
|
+
*/
|
|
87
|
+
export interface UserAgentRule {
|
|
88
|
+
userAgent: string
|
|
89
|
+
disallow?: string[]
|
|
90
|
+
allow?: string[]
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export interface OpenGraphMeta {
|
|
94
|
+
type?: string
|
|
95
|
+
locale?: string
|
|
96
|
+
url?: string
|
|
97
|
+
title?: string
|
|
98
|
+
description?: string
|
|
99
|
+
images?: OGImage[] | OGImage
|
|
100
|
+
siteName?: string
|
|
101
|
+
[key: string]: unknown
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface TwitterMeta {
|
|
105
|
+
card?: "summary" | "summary_large_image" | "player" | "app"
|
|
106
|
+
site?: string
|
|
107
|
+
creator?: string
|
|
108
|
+
title?: string
|
|
109
|
+
description?: string
|
|
110
|
+
images?: OGImage[] | OGImage | string
|
|
111
|
+
[key: string]: unknown
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Site identity and SEO defaults shared across all Rimelight Astro sites. The UI-specific overrides
|
|
116
|
+
* (component themes, shortcuts, etc.) live in UIConfig (packages/ui) and are passed directly to the
|
|
117
|
+
* ui() integration.
|
|
118
|
+
*/
|
|
119
|
+
export interface SiteConfig {
|
|
120
|
+
id: string
|
|
121
|
+
name: string
|
|
122
|
+
description: string
|
|
123
|
+
url: string
|
|
124
|
+
ogImage: string
|
|
125
|
+
author: string
|
|
126
|
+
email: string
|
|
127
|
+
branding: {
|
|
128
|
+
logo: {
|
|
129
|
+
alt: string
|
|
130
|
+
}
|
|
131
|
+
favicon: {
|
|
132
|
+
svg: string
|
|
133
|
+
}
|
|
134
|
+
colors: {
|
|
135
|
+
themeColor: string
|
|
136
|
+
backgroundColor: string
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
seo: {
|
|
140
|
+
titleTemplate: string
|
|
141
|
+
ogImageFallback: string
|
|
142
|
+
maxDescriptionLength: number
|
|
143
|
+
authorHandle?: string
|
|
144
|
+
}
|
|
145
|
+
openGraph?: OpenGraphMeta
|
|
146
|
+
twitter?: TwitterMeta
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Open Graph image with alt text
|
|
151
|
+
*/
|
|
152
|
+
export interface OGImage {
|
|
153
|
+
/**
|
|
154
|
+
* Image URL (relative or absolute)
|
|
155
|
+
*/
|
|
156
|
+
src: string
|
|
157
|
+
/**
|
|
158
|
+
* Alt text for the image
|
|
159
|
+
*/
|
|
160
|
+
alt: string
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* RSS feed link configuration
|
|
165
|
+
*/
|
|
166
|
+
export interface RSSFeed {
|
|
167
|
+
/**
|
|
168
|
+
* RSS feed URL
|
|
169
|
+
*/
|
|
170
|
+
href: string
|
|
171
|
+
/**
|
|
172
|
+
* Feed title (defaults to "RSS")
|
|
173
|
+
*/
|
|
174
|
+
title?: string
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Props for the RLAHead Astro component. Defined here so consumers can construct head props without
|
|
179
|
+
* importing @rimelight/ui.
|
|
180
|
+
*/
|
|
181
|
+
export interface HeadProps {
|
|
182
|
+
/**
|
|
183
|
+
* Page title
|
|
184
|
+
*/
|
|
185
|
+
title?: string
|
|
186
|
+
/**
|
|
187
|
+
* Page description
|
|
188
|
+
*/
|
|
189
|
+
description?: string
|
|
190
|
+
/**
|
|
191
|
+
* Open Graph image with alt text
|
|
192
|
+
*/
|
|
193
|
+
ogImage?: OGImage
|
|
194
|
+
/**
|
|
195
|
+
* Open Graph type (e.g., "website", "article")
|
|
196
|
+
*/
|
|
197
|
+
ogType?: string
|
|
198
|
+
/**
|
|
199
|
+
* Open Graph locale (defaults to "en_US")
|
|
200
|
+
*/
|
|
201
|
+
ogLocale?: string
|
|
202
|
+
/**
|
|
203
|
+
* Whether to prevent indexing
|
|
204
|
+
*/
|
|
205
|
+
noindex?: boolean
|
|
206
|
+
/**
|
|
207
|
+
* Whether this is a 404 page
|
|
208
|
+
*/
|
|
209
|
+
is404?: boolean
|
|
210
|
+
/**
|
|
211
|
+
* Robots metadata (overrides noindex/is404 logic if provided)
|
|
212
|
+
*/
|
|
213
|
+
robots?: string
|
|
214
|
+
/**
|
|
215
|
+
* Canonical URL
|
|
216
|
+
*/
|
|
217
|
+
canonical?: string
|
|
218
|
+
/**
|
|
219
|
+
* Language alternates for i18n
|
|
220
|
+
*/
|
|
221
|
+
languageAlternates?: Array<{ hreflang: string; href: string }>
|
|
222
|
+
/**
|
|
223
|
+
* Custom favicon SVG or image path (overrides config.branding.favicon.svg)
|
|
224
|
+
*/
|
|
225
|
+
favicon?: string
|
|
226
|
+
/**
|
|
227
|
+
* Site configuration for defaults
|
|
228
|
+
*/
|
|
229
|
+
config?: SiteConfig
|
|
230
|
+
/**
|
|
231
|
+
* Whether to enable View Transitions (ClientRouter)
|
|
232
|
+
*/
|
|
233
|
+
transitions?: boolean
|
|
234
|
+
/**
|
|
235
|
+
* Meta charset
|
|
236
|
+
*/
|
|
237
|
+
charset?: string
|
|
238
|
+
/**
|
|
239
|
+
* Meta viewport
|
|
240
|
+
*/
|
|
241
|
+
viewport?: string
|
|
242
|
+
/**
|
|
243
|
+
* RSS feed configuration
|
|
244
|
+
*/
|
|
245
|
+
rssFeed?: RSSFeed
|
|
246
|
+
/**
|
|
247
|
+
* Article or BlogPosting JSON-LD configuration
|
|
248
|
+
*/
|
|
249
|
+
articleSchema?: import("./schema.js").ArticleSchemaOptions
|
|
250
|
+
/**
|
|
251
|
+
* Breadcrumb list for JSON-LD structured data
|
|
252
|
+
*/
|
|
253
|
+
breadcrumbs?: import("./schema.js").BreadcrumbItem[]
|
|
254
|
+
/**
|
|
255
|
+
* URL for this page's raw Markdown alternate twin
|
|
256
|
+
*/
|
|
257
|
+
markdownUrl?: string
|
|
258
|
+
/**
|
|
259
|
+
* Version alternates for multi-version documentation
|
|
260
|
+
*/
|
|
261
|
+
versionAlternates?: Array<{ version: string; href: string }>
|
|
262
|
+
/**
|
|
263
|
+
* Whether the title should bypass site title template
|
|
264
|
+
*/
|
|
265
|
+
absolute?: boolean
|
|
266
|
+
/**
|
|
267
|
+
* Twitter card type
|
|
268
|
+
*/
|
|
269
|
+
twitterCard?: "summary" | "summary_large_image" | "player" | "app"
|
|
270
|
+
/**
|
|
271
|
+
* Open Graph metadata overrides
|
|
272
|
+
*/
|
|
273
|
+
openGraph?: OpenGraphMeta
|
|
274
|
+
/**
|
|
275
|
+
* Twitter metadata overrides
|
|
276
|
+
*/
|
|
277
|
+
twitter?: TwitterMeta
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export type { LlmsPage, LlmsTxtOptions, LlmsFullTxtOptions } from "./llms.js"
|
|
281
|
+
export type { ArticleSchemaOptions, BreadcrumbItem } from "./schema.js"
|
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
//#region src/schema.d.ts
|
|
2
|
-
interface ArticleSchemaOptions {
|
|
3
|
-
type?: "TechArticle" | "Article" | "BlogPosting";
|
|
4
|
-
title: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
url: string;
|
|
7
|
-
datePublished?: string | Date;
|
|
8
|
-
dateModified?: string | Date;
|
|
9
|
-
authorName?: string;
|
|
10
|
-
authorUrl?: string;
|
|
11
|
-
image?: string;
|
|
12
|
-
publisherName?: string;
|
|
13
|
-
publisherLogo?: string;
|
|
14
|
-
}
|
|
15
|
-
interface BreadcrumbItem {
|
|
16
|
-
name: string;
|
|
17
|
-
url: string;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Builds Schema.org Article / TechArticle / BlogPosting JSON-LD.
|
|
21
|
-
*/
|
|
22
|
-
declare function buildArticleSchema(options: ArticleSchemaOptions): Record<string, any>;
|
|
23
|
-
/**
|
|
24
|
-
* Builds Schema.org BreadcrumbList JSON-LD.
|
|
25
|
-
*/
|
|
26
|
-
declare function buildBreadcrumbSchema(items: BreadcrumbItem[]): Record<string, any>;
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/llms.d.ts
|
|
29
|
-
interface LlmsPage {
|
|
30
|
-
title: string;
|
|
31
|
-
url: string;
|
|
32
|
-
description?: string;
|
|
33
|
-
markdownUrl?: string;
|
|
34
|
-
section?: string;
|
|
35
|
-
}
|
|
36
|
-
interface LlmsTxtOptions {
|
|
37
|
-
site: string;
|
|
38
|
-
title: string;
|
|
39
|
-
description?: string;
|
|
40
|
-
fullCorpusUrl?: string;
|
|
41
|
-
pages: LlmsPage[];
|
|
42
|
-
sections?: Array<{
|
|
43
|
-
label: string;
|
|
44
|
-
url: string;
|
|
45
|
-
}>;
|
|
46
|
-
}
|
|
47
|
-
interface LlmsFullTxtOptions {
|
|
48
|
-
site: string;
|
|
49
|
-
title: string;
|
|
50
|
-
description?: string;
|
|
51
|
-
pages: Array<{
|
|
52
|
-
title: string;
|
|
53
|
-
url: string;
|
|
54
|
-
description?: string;
|
|
55
|
-
markdown: string;
|
|
56
|
-
version?: string;
|
|
57
|
-
}>;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Builds standard /llms.txt document format for AI discovery.
|
|
61
|
-
*/
|
|
62
|
-
declare function buildLlmsTxt(options: LlmsTxtOptions): string;
|
|
63
|
-
/**
|
|
64
|
-
* Builds concatenated /llms-full.txt single corpus document for AI agents.
|
|
65
|
-
*/
|
|
66
|
-
declare function buildLlmsFullTxt(options: LlmsFullTxtOptions): string;
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region src/types.d.ts
|
|
69
|
-
/**
|
|
70
|
-
* Change frequency for sitemap entries
|
|
71
|
-
*/
|
|
72
|
-
type ChangeFreq = "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never";
|
|
73
|
-
/**
|
|
74
|
-
* SEO entry — a single page to include in sitemaps
|
|
75
|
-
*/
|
|
76
|
-
interface SeoEntry {
|
|
77
|
-
/**
|
|
78
|
-
* Locale-less path, e.g. "/company/blog/hello". Leading slash required.
|
|
79
|
-
*/
|
|
80
|
-
path: string;
|
|
81
|
-
lastmod?: Date;
|
|
82
|
-
changefreq?: ChangeFreq;
|
|
83
|
-
priority?: number;
|
|
84
|
-
/**
|
|
85
|
-
* Restrict to a subset of locales; defaults to all configured locales.
|
|
86
|
-
*/
|
|
87
|
-
locales?: readonly string[];
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Locale configuration for SEO builders
|
|
91
|
-
*/
|
|
92
|
-
interface LocaleConfig {
|
|
93
|
-
/**
|
|
94
|
-
* Absolute origin, e.g. "https://rimelight.com"
|
|
95
|
-
*/
|
|
96
|
-
site: string;
|
|
97
|
-
/**
|
|
98
|
-
* Map of locale segment -> hreflang, e.g. { en: "en-US", pt: "pt-BR" }
|
|
99
|
-
*/
|
|
100
|
-
locales: Record<string, string>;
|
|
101
|
-
defaultLocale: string;
|
|
102
|
-
/**
|
|
103
|
-
* Emit the default locale without a prefix. Default: false.
|
|
104
|
-
*/
|
|
105
|
-
prefixDefaultLocale?: boolean;
|
|
106
|
-
trailingSlash?: "always" | "never";
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Fully resolved sitemap URL with alternates
|
|
110
|
-
*/
|
|
111
|
-
interface SitemapUrl {
|
|
112
|
-
loc: string;
|
|
113
|
-
lastmod?: string;
|
|
114
|
-
changefreq?: ChangeFreq;
|
|
115
|
-
priority?: number;
|
|
116
|
-
alternates?: SitemapAlternate[];
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Language alternate for a sitemap URL
|
|
120
|
-
*/
|
|
121
|
-
interface SitemapAlternate {
|
|
122
|
-
hreflang: string;
|
|
123
|
-
href: string;
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Options for robots.txt generation
|
|
127
|
-
*/
|
|
128
|
-
interface RobotsOptions {
|
|
129
|
-
/**
|
|
130
|
-
* The sitemap URL to reference
|
|
131
|
-
*/
|
|
132
|
-
sitemapUrl: string;
|
|
133
|
-
/**
|
|
134
|
-
* Paths to disallow for all user agents
|
|
135
|
-
*/
|
|
136
|
-
disallow?: string[];
|
|
137
|
-
/**
|
|
138
|
-
* Paths to allow for all user agents
|
|
139
|
-
*/
|
|
140
|
-
allow?: string[];
|
|
141
|
-
/**
|
|
142
|
-
* User-agent specific rules
|
|
143
|
-
*/
|
|
144
|
-
userAgentRules?: UserAgentRule[];
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* User-agent specific robots.txt rule
|
|
148
|
-
*/
|
|
149
|
-
interface UserAgentRule {
|
|
150
|
-
userAgent: string;
|
|
151
|
-
disallow?: string[];
|
|
152
|
-
allow?: string[];
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* Site identity and SEO defaults shared across all Rimelight Astro sites. The UI-specific overrides
|
|
156
|
-
* (component themes, shortcuts, etc.) live in UIConfig (packages/ui) and are passed directly to the
|
|
157
|
-
* ui() integration.
|
|
158
|
-
*/
|
|
159
|
-
interface SiteConfig {
|
|
160
|
-
id: string;
|
|
161
|
-
name: string;
|
|
162
|
-
description: string;
|
|
163
|
-
url: string;
|
|
164
|
-
ogImage: string;
|
|
165
|
-
author: string;
|
|
166
|
-
email: string;
|
|
167
|
-
branding: {
|
|
168
|
-
logo: {
|
|
169
|
-
alt: string;
|
|
170
|
-
};
|
|
171
|
-
favicon: {
|
|
172
|
-
svg: string;
|
|
173
|
-
};
|
|
174
|
-
colors: {
|
|
175
|
-
themeColor: string;
|
|
176
|
-
backgroundColor: string;
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
seo: {
|
|
180
|
-
titleTemplate: string;
|
|
181
|
-
ogImageFallback: string;
|
|
182
|
-
maxDescriptionLength: number;
|
|
183
|
-
authorHandle?: string;
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* Open Graph image with alt text
|
|
188
|
-
*/
|
|
189
|
-
interface OGImage {
|
|
190
|
-
/**
|
|
191
|
-
* Image URL (relative or absolute)
|
|
192
|
-
*/
|
|
193
|
-
src: string;
|
|
194
|
-
/**
|
|
195
|
-
* Alt text for the image
|
|
196
|
-
*/
|
|
197
|
-
alt: string;
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* RSS feed link configuration
|
|
201
|
-
*/
|
|
202
|
-
interface RSSFeed {
|
|
203
|
-
/**
|
|
204
|
-
* RSS feed URL
|
|
205
|
-
*/
|
|
206
|
-
href: string;
|
|
207
|
-
/**
|
|
208
|
-
* Feed title (defaults to "RSS")
|
|
209
|
-
*/
|
|
210
|
-
title?: string;
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* Props for the RLAHead Astro component. Defined here so consumers can construct head props without
|
|
214
|
-
* importing @rimelight/ui.
|
|
215
|
-
*/
|
|
216
|
-
interface HeadProps {
|
|
217
|
-
/**
|
|
218
|
-
* Page title
|
|
219
|
-
*/
|
|
220
|
-
title?: string;
|
|
221
|
-
/**
|
|
222
|
-
* Page description
|
|
223
|
-
*/
|
|
224
|
-
description?: string;
|
|
225
|
-
/**
|
|
226
|
-
* Open Graph image with alt text
|
|
227
|
-
*/
|
|
228
|
-
ogImage?: OGImage;
|
|
229
|
-
/**
|
|
230
|
-
* Open Graph type (e.g., "website", "article")
|
|
231
|
-
*/
|
|
232
|
-
ogType?: string;
|
|
233
|
-
/**
|
|
234
|
-
* Open Graph locale (defaults to "en_US")
|
|
235
|
-
*/
|
|
236
|
-
ogLocale?: string;
|
|
237
|
-
/**
|
|
238
|
-
* Whether to prevent indexing
|
|
239
|
-
*/
|
|
240
|
-
noindex?: boolean;
|
|
241
|
-
/**
|
|
242
|
-
* Whether this is a 404 page
|
|
243
|
-
*/
|
|
244
|
-
is404?: boolean;
|
|
245
|
-
/**
|
|
246
|
-
* Robots metadata (overrides noindex/is404 logic if provided)
|
|
247
|
-
*/
|
|
248
|
-
robots?: string;
|
|
249
|
-
/**
|
|
250
|
-
* Canonical URL
|
|
251
|
-
*/
|
|
252
|
-
canonical?: string;
|
|
253
|
-
/**
|
|
254
|
-
* Language alternates for i18n
|
|
255
|
-
*/
|
|
256
|
-
languageAlternates?: Array<{
|
|
257
|
-
hreflang: string;
|
|
258
|
-
href: string;
|
|
259
|
-
}>;
|
|
260
|
-
/**
|
|
261
|
-
* Site configuration for defaults
|
|
262
|
-
*/
|
|
263
|
-
config?: SiteConfig;
|
|
264
|
-
/**
|
|
265
|
-
* Whether to enable View Transitions (ClientRouter)
|
|
266
|
-
*/
|
|
267
|
-
transitions?: boolean;
|
|
268
|
-
/**
|
|
269
|
-
* Meta charset
|
|
270
|
-
*/
|
|
271
|
-
charset?: string;
|
|
272
|
-
/**
|
|
273
|
-
* Meta viewport
|
|
274
|
-
*/
|
|
275
|
-
viewport?: string;
|
|
276
|
-
/**
|
|
277
|
-
* RSS feed configuration
|
|
278
|
-
*/
|
|
279
|
-
rssFeed?: RSSFeed;
|
|
280
|
-
/**
|
|
281
|
-
* Article or BlogPosting JSON-LD configuration
|
|
282
|
-
*/
|
|
283
|
-
articleSchema?: ArticleSchemaOptions;
|
|
284
|
-
/**
|
|
285
|
-
* Breadcrumb list for JSON-LD structured data
|
|
286
|
-
*/
|
|
287
|
-
breadcrumbs?: BreadcrumbItem[];
|
|
288
|
-
/**
|
|
289
|
-
* URL for this page's raw Markdown alternate twin
|
|
290
|
-
*/
|
|
291
|
-
markdownUrl?: string;
|
|
292
|
-
/**
|
|
293
|
-
* Version alternates for multi-version documentation
|
|
294
|
-
*/
|
|
295
|
-
versionAlternates?: Array<{
|
|
296
|
-
version: string;
|
|
297
|
-
href: string;
|
|
298
|
-
}>;
|
|
299
|
-
}
|
|
300
|
-
//#endregion
|
|
301
|
-
export { ArticleSchemaOptions as _, RSSFeed as a, buildBreadcrumbSchema as b, SiteConfig as c, UserAgentRule as d, LlmsFullTxtOptions as f, buildLlmsTxt as g, buildLlmsFullTxt as h, OGImage as i, SitemapAlternate as l, LlmsTxtOptions as m, HeadProps as n, RobotsOptions as o, LlmsPage as p, LocaleConfig as r, SeoEntry as s, ChangeFreq as t, SitemapUrl as u, BreadcrumbItem as v, buildArticleSchema as y };
|