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",
|
label: "Integrations",
|
||||||
position: "left",
|
position: "left",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
to: "developer-docs/",
|
|
||||||
label: "Developer",
|
|
||||||
position: "left",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
to: "pricing/",
|
to: "pricing/",
|
||||||
label: "Pricing",
|
label: "Pricing",
|
||||||
|
|
|
@ -32,12 +32,6 @@ module.exports = async function () {
|
||||||
label: "Integrations",
|
label: "Integrations",
|
||||||
position: "left",
|
position: "left",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
to: "developer-docs/",
|
|
||||||
activeBasePath: "developer-docs",
|
|
||||||
label: "Developer Docs",
|
|
||||||
position: "left",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
href: "https://github.com/goauthentik/authentik",
|
href: "https://github.com/goauthentik/authentik",
|
||||||
label: "GitHub",
|
label: "GitHub",
|
||||||
|
|
|
@ -29,6 +29,14 @@
|
||||||
status = 301
|
status = 301
|
||||||
force = true
|
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
|
# Container registry
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/v2"
|
from = "/v2"
|
||||||
|
|
|
@ -262,6 +262,43 @@ const docsSidebar = {
|
||||||
label: "Users & Groups",
|
label: "Users & Groups",
|
||||||
items: ["user-group/user", "user-group/group"],
|
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",
|
type: "category",
|
||||||
label: "Release Notes",
|
label: "Release Notes",
|
||||||
|
|
|
@ -12,43 +12,6 @@ module.exports = {
|
||||||
type: "doc",
|
type: "doc",
|
||||||
id: "index",
|
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",
|
type: "category",
|
||||||
label: "Setup",
|
label: "Setup",
|
||||||
|
|
Reference in a new issue