Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore(kb) - update visibility across properties (#51804)

Kody Jackson31d21ae69f96
diff --git a/apps/kb/src/layouts/Layout.astro b/apps/kb/src/layouts/Layout.astro
index afd496f169c..b32a42a7b1e 100644
--- a/apps/kb/src/layouts/Layout.astro
+++ b/apps/kb/src/layouts/Layout.astro
@@ -29,7 +29,6 @@ const canonicalHref = canonicalUrl(Astro.url.pathname)
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
- <meta name="robots" content="noindex, nofollow" />
{description && <meta name="description" content={description} />}
<script is:inline>
// Set data-theme on <html> before first paint, so the page doesn't flash
diff --git a/apps/www/data/Footer.ts b/apps/www/data/Footer.ts
index 7480ed751cb..18132055089 100644
--- a/apps/www/data/Footer.ts
+++ b/apps/www/data/Footer.ts
@@ -100,6 +100,10 @@ const footerData = [
text: 'Partner Catalog',
url: '/partners/catalog',
},
+ {
+ text: 'Knowledge Base',
+ url: '/kb',
+ },
{
text: 'Brand Assets',
url: '/brand-assets',
diff --git a/apps/www/internals/generate-sitemap.mjs b/apps/www/internals/generate-sitemap.mjs
index 0f64bfca847..c8982a5753c 100644
--- a/apps/www/internals/generate-sitemap.mjs
+++ b/apps/www/internals/generate-sitemap.mjs
@@ -226,6 +226,9 @@ async function generate() {
<sitemap>
<loc>https://supabase.com/docs/sitemap.xml</loc>
</sitemap>
+ <sitemap>
+ <loc>https://supabase.com/kb/sitemap-index.xml</loc>
+ </sitemap>
</sitemapindex>
`
diff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjs
index 0e1803a0298..c2eb0a7dc43 100644
--- a/apps/www/next.config.mjs
+++ b/apps/www/next.config.mjs
@@ -173,7 +173,7 @@ const nextConfig = {
],
},
{
- source: '/(docs|blog)/:path*',
+ source: '/(docs|blog|kb)/:path*',
headers: [
{
key: 'X-Robots-Tag',
diff --git a/apps/www/next.config.test.ts b/apps/www/next.config.test.ts
index 46d72ed03bb..07e09231153 100644
--- a/apps/www/next.config.test.ts
+++ b/apps/www/next.config.test.ts
@@ -14,7 +14,7 @@ describe('next.config.mjs', () => {
expect(headers).toEqual(
expect.arrayContaining([
expect.objectContaining({
- source: '/(docs|blog)/:path*',
+ source: '/(docs|blog|kb)/:path*',
headers: [{ key: 'X-Robots-Tag', value: 'all' }],
}),
expect.objectContaining({