chore: Replace references to deprecated services

This commit is contained in:
Dries Augustyns
2025-12-31 15:08:26 +01:00
parent 289c633189
commit 7648f6e1eb
51 changed files with 163 additions and 183 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ const __dirname = path.dirname(__filename);
function findMdxFiles(dir, fileList = []) {
const files = fs.readdirSync(dir);
files.forEach((file) => {
files.forEach(file => {
const filePath = path.join(dir, file);
const stat = fs.statSync(filePath);
@@ -46,7 +46,7 @@ function filePathToUrl(filePath) {
}
const config = {
siteUrl: process.env.NEXT_PUBLIC_WIKI_URI || 'https://docs.useplunk.com',
siteUrl: process.env.NEXT_PUBLIC_WIKI_URI || 'https://next-wiki.useplunk.com',
generateRobotsTxt: true,
additionalPaths: async () => {
const contentDocsPath = path.join(__dirname, 'content', 'docs');
@@ -55,7 +55,7 @@ const config = {
const mdxFiles = findMdxFiles(contentDocsPath);
// Convert to sitemap entries
return mdxFiles.map((filePath) => ({
return mdxFiles.map(filePath => ({
loc: filePathToUrl(filePath),
changefreq: 'weekly',
priority: 0.7,