mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Adds a sitemap file to the new KB. ## Preview links https://kb-git-kb-seo-conventions-supabase.vercel.app/kb/ ## Review instructions On the preview, check the following paths: - [`/sitemap-index.xml`](https://kb-git-kb-seo-conventions-supabase.vercel.app/kb/sitemap-index.xml) and [`/sitemap-0.xml`](https://kb-git-kb-seo-conventions-supabase.vercel.app/kb//sitemap-0.xml) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * A sitemap is now generated for the knowledge base and linked from its pages. Its URL reflects the site’s configured base path, so the link points to the correct location across different deployment paths. Existing content and page functionality remain unchanged. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"name": "kb",
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"node": ">=22.12.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "astro dev --port 3008",
|
|
"prebuild": "pnpm run generate:markdown",
|
|
"build": "astro build",
|
|
"generate:markdown": "node --experimental-strip-types ./scripts/generate-markdown.mjs",
|
|
"preview": "astro preview",
|
|
"astro": "astro",
|
|
"test": "vitest --run"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/markdown-remark": "7.2.4",
|
|
"@astrojs/mdx": "^7.0.7",
|
|
"@astrojs/react": "^6.0.4",
|
|
"@astrojs/sitemap": "^3.7.4",
|
|
"astro": "^7.2.6",
|
|
"lucide-react": "*",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"remark-gfm": "^4.0.1",
|
|
"remark-parse": "^11.0.0",
|
|
"remark-stringify": "^11.0.0",
|
|
"sharp": "^0.35.4",
|
|
"ui": "workspace:*",
|
|
"ui-patterns": "workspace:*",
|
|
"unified": "^11.0.5",
|
|
"unist-util-visit": "^5.1.0",
|
|
"yaml": "^2.9.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "4.2.4",
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:",
|
|
"config": "workspace:*",
|
|
"lodash-es": "catalog:",
|
|
"tailwindcss": "catalog:",
|
|
"vitest": "catalog:"
|
|
},
|
|
"allowScripts": {
|
|
"esbuild": true
|
|
}
|
|
}
|