move blueprints and API to main docs

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-09-26 22:04:42 +02:00
parent 8e39ad2cda
commit 9a98c1be00
No known key found for this signature in database
17 changed files with 45 additions and 48 deletions

View file

@ -35,11 +35,6 @@ module.exports = async function () {
label: "Integrations",
position: "left",
},
{
to: "developer-docs/",
label: "Developer",
position: "left",
},
{
to: "pricing/",
label: "Pricing",

View file

@ -32,12 +32,6 @@ module.exports = async function () {
label: "Integrations",
position: "left",
},
{
to: "developer-docs/",
activeBasePath: "developer-docs",
label: "Developer Docs",
position: "left",
},
{
href: "https://github.com/goauthentik/authentik",
label: "GitHub",

View file

@ -29,6 +29,14 @@
status = 301
force = true
# Migrate API and blueprints into main docs
[[redirects]]
from = "/developer-docs/api*"
to = "/docs/api:splat"
[[redirects]]
from = "/developer-docs/blueprints*"
to = "/docs/blueprints:splat"
# Container registry
[[redirects]]
from = "/v2"

View file

@ -262,6 +262,43 @@ const docsSidebar = {
label: "Users & Groups",
items: ["user-group/user", "user-group/group"],
},
{
type: "category",
label: "Blueprints",
link: {
type: "doc",
id: "blueprints/index",
},
items: [
"blueprints/export",
"blueprints/v1/structure",
"blueprints/v1/tags",
"blueprints/v1/example",
{
type: "category",
label: "Models",
link: {
type: "doc",
id: "blueprints/v1/models",
},
items: ["blueprints/v1/meta"],
},
],
},
{
type: "category",
label: "API",
link: {
type: "doc",
id: "api/api",
},
items: [
"api/flow-executor",
"api/making-schema-changes",
"api/websocket",
"api/browser",
],
},
{
type: "category",
label: "Release Notes",

View file

@ -12,43 +12,6 @@ module.exports = {
type: "doc",
id: "index",
},
{
type: "category",
label: "Blueprints",
link: {
type: "doc",
id: "blueprints/index",
},
items: [
"blueprints/export",
"blueprints/v1/structure",
"blueprints/v1/tags",
"blueprints/v1/example",
{
type: "category",
label: "Models",
link: {
type: "doc",
id: "blueprints/v1/models",
},
items: ["blueprints/v1/meta"],
},
],
},
{
type: "category",
label: "API",
link: {
type: "doc",
id: "api/api",
},
items: [
"api/flow-executor",
"api/making-schema-changes",
"api/websocket",
"api/browser",
],
},
{
type: "category",
label: "Setup",