Revert "website: latest migration to new structure" (#11634)
Revert "website: latest migration to new structure (#11522)"
This reverts commit 9a89a5f94b.
This commit is contained in:
@ -17,6 +17,14 @@ module.exports = async function (): Promise<Config> {
|
||||
organizationName: "Authentik Security Inc.",
|
||||
projectName: "authentik",
|
||||
themeConfig: {
|
||||
announcementBar: {
|
||||
id: "new_docs_structure",
|
||||
content:
|
||||
'Change is hard, especially when a familiar site gets re-arranged. But we think the new layout is easier to navigate. Take a preview peek at the upcoming new <a target="_blank" rel="noopener noreferrer" href="https://deploy-preview-11522--authentik-docs.netlify.app/docs"> Docs structure!</a>',
|
||||
backgroundColor: "#cc0099",
|
||||
textColor: "#ffffff",
|
||||
isCloseable: false,
|
||||
},
|
||||
image: "img/social.png",
|
||||
navbar: {
|
||||
logo: {
|
||||
@ -42,6 +50,11 @@ module.exports = async function (): Promise<Config> {
|
||||
label: "Integrations",
|
||||
position: "left",
|
||||
},
|
||||
{
|
||||
to: "developer-docs/",
|
||||
label: "Developer",
|
||||
position: "left",
|
||||
},
|
||||
{
|
||||
to: "https://goauthentik.io/pricing/",
|
||||
label: "Pricing",
|
||||
@ -92,7 +105,6 @@ module.exports = async function (): Promise<Config> {
|
||||
sidebarPath: "./sidebars.js",
|
||||
editUrl:
|
||||
"https://github.com/goauthentik/authentik/edit/main/website/",
|
||||
docItemComponent: "@theme/ApiItem",
|
||||
remarkPlugins: [
|
||||
[
|
||||
remarkGithub,
|
||||
@ -127,15 +139,27 @@ module.exports = async function (): Promise<Config> {
|
||||
"https://github.com/goauthentik/authentik/edit/main/website/",
|
||||
},
|
||||
],
|
||||
[
|
||||
"@docusaurus/plugin-content-docs",
|
||||
{
|
||||
id: "docsDevelopers",
|
||||
path: "developer-docs",
|
||||
routeBasePath: "developer-docs",
|
||||
sidebarPath: "./sidebarsDev.js",
|
||||
docItemComponent: "@theme/ApiItem",
|
||||
editUrl:
|
||||
"https://github.com/goauthentik/authentik/edit/main/website/",
|
||||
},
|
||||
],
|
||||
[
|
||||
"docusaurus-plugin-openapi-docs",
|
||||
{
|
||||
id: "api",
|
||||
docsPluginId: "docs",
|
||||
docsPluginId: "docsDevelopers",
|
||||
config: {
|
||||
authentik: {
|
||||
specPath: "static/schema.yaml",
|
||||
outputDir: "docs/developer-docs/api/reference/",
|
||||
outputDir: "developer-docs/api/reference/",
|
||||
hideSendButton: true,
|
||||
sidebarOptions: {
|
||||
groupPathsBy: "tag",
|
||||
|
||||
Reference in New Issue
Block a user