Files
archived-next-auth/docs/sidebars.js
Balázs Orbán 0909f7185a docs: cleanup getting started guides (#8927)
* fix gitignore

* auto-generate providers docs, move pages around, rewrite some docs

* move deployment to getting started

* remove sidebar position configs

* simplify landing page code examples

* add framework logos

* add cards of frameworks on getting started intro

* reword adapters and deployments docs

* update typescript guide
2023-10-24 01:53:00 +01:00

85 lines
3.5 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// @ts-check
/** @type {import('@docusaurus/plugin-content-docs').PropSidebarItemHtml} */
const clerk = {
type: "html",
value: `
<a href="https://clerk.com?utm_source=sponsorship&utm_medium=docs&utm_campaign=authjs&utm_content=callout">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="/img/clerk-sidebar-light.png">
<source media="(prefers-color-scheme: light)" srcset="/img/clerk-sidebar-dark.png">
<img alt="Clerk Authentication & User Management" src="/img/clerk-sidebar-dark.png">
</picture>
</a>`,
defaultStyle: true,
}
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
module.exports = {
gettingStartedSidebar: [{ type: "autogenerated", dirName: "getting-started" }, clerk],
guidesSidebar: [{ type: "autogenerated", dirName: "guides" }, clerk],
referenceSidebar: [
"reference/index",
{
type: "category",
label: "@auth/core",
link: { type: "doc", id: "reference/core/index" },
items: [{ type: "autogenerated", dirName: "reference/core" }],
},
{
type: "category",
label: "@auth/sveltekit",
link: { type: "doc", id: "reference/sveltekit/index" },
items: [{ type: "autogenerated", dirName: "reference/sveltekit" }],
},
{
type: "category",
label: "@auth/solid-start",
link: { type: "doc", id: "reference/solidstart/index" },
items: [{ type: "autogenerated", dirName: "reference/solidstart" }],
},
{
type: "category",
label: "next-auth",
link: { type: "doc", id: "reference/nextjs/index" },
items: [{ type: "autogenerated", dirName: "reference/nextjs" }],
},
...(process.env.TYPEDOC_SKIP_ADAPTERS
? []
: [
{
type: "category",
label: "Database Adapters",
collapsed: false,
items: [
{ type: "doc", id: "reference/adapter/azure-tables/index" },
{ type: "doc", id: "reference/adapter/d1/index" },
{ type: "doc", id: "reference/adapter/edgedb/index" },
{ type: "doc", id: "reference/adapter/dgraph/index" },
{ type: "doc", id: "reference/adapter/drizzle/index" },
{ type: "doc", id: "reference/adapter/dynamodb/index" },
{ type: "doc", id: "reference/adapter/fauna/index" },
{ type: "doc", id: "reference/adapter/firebase/index" },
{ type: "doc", id: "reference/adapter/hasura/index" },
{ type: "doc", id: "reference/adapter/kysely/index" },
{ type: "doc", id: "reference/adapter/mikro-orm/index" },
{ type: "doc", id: "reference/adapter/mongodb/index" },
{ type: "doc", id: "reference/adapter/neo4j/index" },
{ type: "doc", id: "reference/adapter/pg/index" },
{ type: "doc", id: "reference/adapter/pouchdb/index" },
{ type: "doc", id: "reference/adapter/prisma/index" },
{ type: "doc", id: "reference/adapter/sequelize/index" },
{ type: "doc", id: "reference/adapter/supabase/index" },
{ type: "doc", id: "reference/adapter/surrealdb/index" },
{ type: "doc", id: "reference/adapter/typeorm/index" },
{ type: "doc", id: "reference/adapter/upstash-redis/index" },
{ type: "doc", id: "reference/adapter/xata/index" },
],
},
]),
"reference/warnings",
clerk,
],
conceptsSidebar: [{ type: "autogenerated", dirName: "concepts" }, clerk],
}