move blueprints and API to main docs
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
8e39ad2cda
commit
9a98c1be00
|
@ -35,11 +35,6 @@ module.exports = async function () {
|
|||
label: "Integrations",
|
||||
position: "left",
|
||||
},
|
||||
{
|
||||
to: "developer-docs/",
|
||||
label: "Developer",
|
||||
position: "left",
|
||||
},
|
||||
{
|
||||
to: "pricing/",
|
||||
label: "Pricing",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Reference in a new issue