mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
86 lines
2.3 KiB
JavaScript
86 lines
2.3 KiB
JavaScript
/** @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,
|
||
}
|
||
|
||
module.exports = {
|
||
docs: [
|
||
{
|
||
type: "category",
|
||
label: "Getting Started",
|
||
collapsed: false,
|
||
items: [
|
||
"getting-started/introduction",
|
||
"getting-started/example",
|
||
"getting-started/client",
|
||
"getting-started/rest-api",
|
||
"getting-started/typescript",
|
||
"getting-started/upgrade-v4",
|
||
],
|
||
},
|
||
{
|
||
type: "category",
|
||
label: "Configuration",
|
||
collapsed: true,
|
||
items: [
|
||
"configuration/initialization",
|
||
"configuration/options",
|
||
{
|
||
type: "category",
|
||
label: "Providers",
|
||
collapsed: true,
|
||
items: [
|
||
"configuration/providers/oauth",
|
||
"configuration/providers/email",
|
||
"configuration/providers/credentials",
|
||
],
|
||
},
|
||
"configuration/databases",
|
||
"configuration/pages",
|
||
"configuration/callbacks",
|
||
"configuration/events",
|
||
"configuration/nextjs",
|
||
],
|
||
},
|
||
{
|
||
type: "category",
|
||
label: "Providers",
|
||
link: { type: "doc", id: "providers/overview" },
|
||
collapsed: true,
|
||
items: [
|
||
{
|
||
type: "autogenerated",
|
||
dirName: "providers",
|
||
},
|
||
],
|
||
},
|
||
"adapters",
|
||
"warnings",
|
||
"errors",
|
||
"deployment",
|
||
{
|
||
type: "category",
|
||
label: "Guides",
|
||
link: { type: "doc", id: "guides/guides" },
|
||
collapsed: true,
|
||
items: ["guides/basics", "guides/fullstack", "guides/testing"],
|
||
},
|
||
clerk,
|
||
{
|
||
type: "html",
|
||
value:
|
||
'<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CEAI6K3N&placement=next-authjsorg" id="_carbonads_js"></script>',
|
||
defaultStyle: true,
|
||
},
|
||
],
|
||
}
|