The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Exclude Edit this Page button
Terry Sutton9decf4f01e6f
diff --git a/apps/docs/layouts/guides/index.tsx b/apps/docs/layouts/guides/index.tsxindex 25b26b3fec7..e3b64828a60 100644--- a/apps/docs/layouts/guides/index.tsx+++ b/apps/docs/layouts/guides/index.tsx@@ -31,10 +31,11 @@ const Layout: FC<Props> = (props) => {const [tocList, setTocList] = useState([])const { asPath } = useRouter()- const page = getPageType(asPath)const router = useRouter()+ const EDIT_BUTTON_EXCLUDE_LIST = ['/404']+useEffect(() => {if (hash && tocList.length > 0) {highlightSelectedTocItem(hash as string)@@ -100,18 +101,23 @@ const Layout: FC<Props> = (props) => {)}<div className="max-w-xs w-32 h-[1px] bg-gradient-to-r from-brand-800 to-brand-900 my-8"></div><MDXProvider components={components}>{props.children}</MDXProvider>- <div className="mt-16 not-prose">- <div>- <Link- href={`https://github.com/supabase/supabase/edit/master/apps/docs/pages${router.asPath}.mdx`}- passHref- >- <a className="text-sm transition flex items-center gap-1 text-scale-1000 hover:text-scale-1200">- Edit this page on GitHub <IconExternalLink size={14} strokeWidth={1.5} />- </a>- </Link>++ {EDIT_BUTTON_EXCLUDE_LIST.includes(router.route) ? (+ <></>+ ) : (+ <div className="mt-16 not-prose">+ <div>+ <Link+ href={`https://github.com/supabase/supabase/edit/master/apps/docs/pages${router.asPath}.mdx`}+ passHref+ >+ <a className="text-sm transition flex items-center gap-1 text-scale-1000 hover:text-scale-1200">+ Edit this page on GitHub <IconExternalLink size={14} strokeWidth={1.5} />+ </a>+ </Link>+ </div></div>- </div>+ )}</article></div>{!props.hideToc && hasTableOfContents && !props.meta?.hide_table_of_contents && (diff --git a/apps/docs/pages/index.mdx b/apps/docs/pages/index.mdxindex 5a7e2f17b28..9921286f50c 100644--- a/apps/docs/pages/index.mdx+++ b/apps/docs/pages/index.mdx@@ -30,7 +30,7 @@ export const meta = {"><div className="col-span-12 lg:col-span-7 flex flex-col gap-6"><img className="hidden lg:visible absolute right-0 top-0 w-[500px]" src="/docs/img/cards/dark.png" />- <div classNam="">+ <div className=""><h3 className="text-2xl m-0 mb-3">Getting Started</h3>Discover how to set up a database to an app making queries in just a few minutes.