You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'[RSS] Passing a glob result directly has been deprecated. Please migrate to the `pagesGlobToRssItems()` helper: https://docs.astro.build/en/recipes/rss/',
75
+
'[RSS] Passing a glob result directly has been deprecated. Please migrate to the `pagesGlobToRssItems()` helper: https://docs.astro.build/en/guides/rss/',
@@ -116,7 +116,7 @@ async function validateRssOptions(rssOptions: RSSOptions) {
116
116
return[
117
117
message,
118
118
`The \`items\` property requires at least the \`title\` or \`description\` key. They must be properly typed, as well as \`pubDate\` and \`link\` keys if provided.`,
119
-
`Check your collection's schema, and visit https://docs.astro.build/en/recipes/rss/#generating-items for more info.`,
119
+
`Check your collection's schema, and visit https://docs.astro.build/en/guides/rss/#generating-items for more info.`,
120
120
].join('\n');
121
121
}
122
122
@@ -133,23 +133,23 @@ export function pagesGlobToRssItems(items: GlobResult): Promise<ValidatedRSSFeed
133
133
const{ url, frontmatter }=awaitgetInfo();
134
134
if(url===undefined||url===null){
135
135
thrownewError(
136
-
`[RSS] You can only glob entries within 'src/pages/' when passing import.meta.glob() directly. Consider mapping the result to an array of RSSFeedItems. See the RSS docs for usage examples: https://docs.astro.build/en/recipes/rss/`,
136
+
`[RSS] You can only glob entries within 'src/pages/' when passing import.meta.glob() directly. Consider mapping the result to an array of RSSFeedItems. See the RSS docs for usage examples: https://docs.astro.build/en/guides/rss/#2-list-of-rss-feed-objects`,
137
137
);
138
138
}
139
139
constparsedResult=rssSchema
140
140
.refine((val)=>val.title||val.description,{
141
141
message: 'At least title or description must be provided.',
0 commit comments