website: fix build for docs-only target
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
2b999e922c
commit
39e3f02503
|
@ -23,6 +23,12 @@ module.exports = {
|
||||||
label: "Docs",
|
label: "Docs",
|
||||||
position: "left",
|
position: "left",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
to: "integrations/",
|
||||||
|
activeBasePath: "integrations",
|
||||||
|
label: "Integrations",
|
||||||
|
position: "left",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
to: "developer-docs/",
|
to: "developer-docs/",
|
||||||
activeBasePath: "developer-docs",
|
activeBasePath: "developer-docs",
|
||||||
|
@ -51,7 +57,8 @@ module.exports = {
|
||||||
docs: {
|
docs: {
|
||||||
id: "docs",
|
id: "docs",
|
||||||
sidebarPath: require.resolve("./sidebars.js"),
|
sidebarPath: require.resolve("./sidebars.js"),
|
||||||
editUrl: "https://github.com/goauthentik/authentik/edit/master/website/",
|
editUrl:
|
||||||
|
"https://github.com/goauthentik/authentik/edit/master/website/",
|
||||||
},
|
},
|
||||||
pages: false,
|
pages: false,
|
||||||
theme: {
|
theme: {
|
||||||
|
@ -62,22 +69,34 @@ module.exports = {
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
[
|
[
|
||||||
'@docusaurus/plugin-content-docs',
|
"@docusaurus/plugin-content-docs",
|
||||||
{
|
{
|
||||||
id: 'docsDevelopers',
|
id: "docsIntegrations",
|
||||||
path: 'developer-docs',
|
path: "integrations",
|
||||||
routeBasePath: 'developer-docs',
|
routeBasePath: "integrations",
|
||||||
sidebarPath: require.resolve('./sidebarsDev.js'),
|
sidebarPath: require.resolve("./sidebarsIntegrations.js"),
|
||||||
editUrl: "https://github.com/goauthentik/authentik/edit/master/website/",
|
editUrl:
|
||||||
|
"https://github.com/goauthentik/authentik/edit/master/website/",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'@docusaurus/plugin-client-redirects',
|
"@docusaurus/plugin-content-docs",
|
||||||
|
{
|
||||||
|
id: "docsDevelopers",
|
||||||
|
path: "developer-docs",
|
||||||
|
routeBasePath: "developer-docs",
|
||||||
|
sidebarPath: require.resolve("./sidebarsDev.js"),
|
||||||
|
editUrl:
|
||||||
|
"https://github.com/goauthentik/authentik/edit/master/website/",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"@docusaurus/plugin-client-redirects",
|
||||||
{
|
{
|
||||||
redirects: [
|
redirects: [
|
||||||
{
|
{
|
||||||
to: '/docs/',
|
to: "/docs/",
|
||||||
from: ['/'],
|
from: ["/"],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
|
@ -60,6 +60,6 @@ Create an application in authentik and select the provider you've created above.
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
Create an outpost deployment for the provider you've created above, as described [here](../../../../../docs/outposts/outposts). Deploy this Outpost either on the same host or a different host that can access Home-Assistant.
|
Create an outpost deployment for the provider you've created above, as described [here](../../../docs/outposts/outposts). Deploy this Outpost either on the same host or a different host that can access Home-Assistant.
|
||||||
|
|
||||||
The outpost will connect to authentik and configure itself.
|
The outpost will connect to authentik and configure itself.
|
||||||
|
|
|
@ -37,6 +37,6 @@ Create an application in authentik and select the provider you've created above.
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
Create an outpost deployment for the provider you've created above, as described [here](../../../../../docs/outposts/outposts). Deploy this Outpost either on the same host or a different host that can access Sonarr.
|
Create an outpost deployment for the provider you've created above, as described [here](../../../docs/outposts/outposts). Deploy this Outpost either on the same host or a different host that can access Sonarr.
|
||||||
|
|
||||||
The outpost will connect to authentik and configure itself.
|
The outpost will connect to authentik and configure itself.
|
||||||
|
|
Reference in New Issue