Update docs/scripts/generate-platform-navigation.js

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
Stack-Bot 2025-07-10 00:56:27 -07:00 committed by GitHub
parent de72b2d5be
commit b5c087f3b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,7 @@ import { type Platform } from './platform-utils';
const PLATFORM_PAGES: { path: string, platforms: Platform[] }[] = [
${config.pages.map(page => {
const platformsStr = JSON.stringify(page.platforms);
return ` { path: '${page.path}', platforms: ${platformsStr} },`;
return ` { path: ${JSON.stringify(page.path)}, platforms: ${platformsStr} },`;
}).join('\n')}
];