mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 04:19:37 +00:00
110 lines
2.8 KiB
JavaScript
110 lines
2.8 KiB
JavaScript
module.exports = [
|
|
[
|
|
'docusaurus2-dotenv',
|
|
{
|
|
path: './.env',
|
|
},
|
|
],
|
|
[
|
|
'@docusaurus/plugin-google-tag-manager',
|
|
{
|
|
containerId: 'GTM-TSD78J',
|
|
},
|
|
],
|
|
[
|
|
'@docusaurus/plugin-client-redirects',
|
|
{
|
|
redirects: [
|
|
{
|
|
to: '/',
|
|
from: ['/conf', '/developerdays', '/developerdays/agenda'],
|
|
},
|
|
{
|
|
to: '/ambassador',
|
|
from: ['/ambassador-program'],
|
|
},
|
|
],
|
|
createRedirects(existingPath) {
|
|
if (existingPath.includes('/idn')) {
|
|
// Redirect from /docs/team/X to /community/X and /docs/support/X to /community/X
|
|
return [
|
|
existingPath.replace('/idn', '/docs'),
|
|
];
|
|
}
|
|
return undefined; // Return a falsy value: no redirect created
|
|
}
|
|
},
|
|
],
|
|
[
|
|
'docusaurus-plugin-openapi-docs',
|
|
{
|
|
id: 'idn-api',
|
|
docsPluginId: 'idn',
|
|
config: {
|
|
idn_v3: {
|
|
specPath: 'static/api-specs/idn/sailpoint-api.v3.yaml',
|
|
outputDir: 'docs/api/v3',
|
|
downloadUrl:
|
|
'https://raw.githubusercontent.com/sailpoint-oss/api-specs/main/dereferenced/deref-sailpoint-api.v3.yaml',
|
|
sidebarOptions: {
|
|
groupPathsBy: 'tag',
|
|
categoryLinkSource: 'tag',
|
|
},
|
|
template: 'api.mustache',
|
|
},
|
|
idn_beta: {
|
|
specPath: 'static/api-specs/idn/sailpoint-api.beta.yaml',
|
|
outputDir: 'docs/api/beta',
|
|
downloadUrl:
|
|
'https://raw.githubusercontent.com/sailpoint-oss/api-specs/main/dereferenced/deref-sailpoint-api.beta.yaml',
|
|
sidebarOptions: {
|
|
groupPathsBy: 'tag',
|
|
categoryLinkSource: 'tag',
|
|
},
|
|
template: 'api.mustache',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
[
|
|
'docusaurus-plugin-openapi-docs',
|
|
{
|
|
id: 'iiq-api',
|
|
docsPluginId: 'iiq',
|
|
config: {
|
|
iiq: {
|
|
specPath: 'static/api-specs/iiq/sailpoint-api.iiq.yaml',
|
|
outputDir: 'docs/api/iiq',
|
|
downloadUrl:
|
|
'https://raw.githubusercontent.com/sailpoint-oss/api-specs/main/iiq/sailpoint-api.iiq.yaml',
|
|
sidebarOptions: {
|
|
groupPathsBy: 'tag',
|
|
categoryLinkSource: 'tag',
|
|
},
|
|
template: 'api.mustache',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
[
|
|
'docusaurus-plugin-openapi-docs',
|
|
{
|
|
id: 'nerm-api',
|
|
docsPluginId: 'nerm',
|
|
config: {
|
|
nerm: {
|
|
specPath: 'static/api-specs/nerm/openapi.yaml',
|
|
outputDir: 'docs/api/nerm',
|
|
downloadUrl:
|
|
'https://raw.githubusercontent.com/sailpoint-oss/api-specs/main/dereferenced/deref-sailpoint-api.nerm.yaml',
|
|
sidebarOptions: {
|
|
groupPathsBy: 'tag',
|
|
categoryLinkSource: 'tag',
|
|
},
|
|
template: 'api.mustache',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
];
|