Skip to content

Commit

Permalink
Fix IIQ Sidebars
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-mairose-sp committed Aug 6, 2024
1 parent fa748ce commit c35f0d4
Showing 1 changed file with 39 additions and 37 deletions.
76 changes: 39 additions & 37 deletions sidebars.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const versions = require("./docs/api/v2024/versions.json");
const versions = require('./docs/api/v2024/versions.json');
const {
versionSelector,
versionCrumb,
} = require("docusaurus-plugin-openapi-docs/lib/sidebars/utils");
} = require('docusaurus-plugin-openapi-docs/lib/sidebars/utils');

const sidebars = {
openApiSidebar: [
Expand Down Expand Up @@ -103,20 +103,6 @@ const sidebars = {
id: 'iiq',
},
items: [
{
type: 'category',
label: 'API Specifications',
collapsible: false,
link: {
type: 'generated-index',
title: 'API Specifications',
description:
"These are the SCIM APIs for SailPoint's on-premise service, IdentityIQ. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.",
slug: '/api/iiq',
},
// @ts-ignore
items: require('./docs/api/iiq/sidebar.ts'),
},
{
type: 'category',
label: 'Plugin Developer Guide',
Expand All @@ -139,6 +125,22 @@ const sidebars = {
],
},
],
iiqApiSideBar: [
{
type: 'category',
label: 'API Specifications',
collapsible: false,
link: {
type: 'generated-index',
title: 'API Specifications',
description:
"These are the SCIM APIs for SailPoint's on-premise service, IdentityIQ. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.",
slug: '/api/iiq',
},
// @ts-ignore
items: require('./docs/api/iiq/sidebar.ts'),
},
],
nermSideBar: [
{
type: 'category',
Expand Down Expand Up @@ -182,25 +184,25 @@ const sidebars = {
],
isc_2024_sidebar: [
{
type: "html",
type: 'html',
defaultStyle: true,
value: versionSelector(versions),
className: "version-button",
className: 'version-button',
},
{
type: "html",
type: 'html',
defaultStyle: true,
value: versionCrumb(`v2024`),
},
// {
// type: "html",
// defaultStyle: true,
// value: ` <select id="featureToggle" onchange="toggleFeatures()">
// <option value="all" selected>All</option>
// <option value="public">Public</option>
// <option value="experimental">Experimental</option>
// </select>`,
// },
// {
// type: "html",
// defaultStyle: true,
// value: ` <select id="featureToggle" onchange="toggleFeatures()">
// <option value="all" selected>All</option>
// <option value="public">Public</option>
// <option value="experimental">Experimental</option>
// </select>`,
// },
{
type: 'doc',
id: 'api/getting-started',
Expand Down Expand Up @@ -241,17 +243,17 @@ const sidebars = {
},
// @ts-ignore
items: require('./docs/api/v2024/sidebar.ts'),
}
},
],
isc_beta_sidebar: [
{
type: "html",
type: 'html',
defaultStyle: true,
value: versionSelector(versions),
className: "version-button",
className: 'version-button',
},
{
type: "html",
type: 'html',
defaultStyle: true,
value: versionCrumb(`beta`),
},
Expand Down Expand Up @@ -295,17 +297,17 @@ const sidebars = {
},
// @ts-ignore
items: require('./docs/api/beta/sidebar.ts'),
}
},
],
isc_v3_sidebar: [
{
type: "html",
type: 'html',
defaultStyle: true,
value: versionSelector(versions),
className: "version-button",
className: 'version-button',
},
{
type: "html",
type: 'html',
defaultStyle: true,
value: versionCrumb(`v3`),
},
Expand Down Expand Up @@ -349,7 +351,7 @@ const sidebars = {
},
// @ts-ignore
items: require('./docs/api/v3/sidebar.ts'),
}
},
],
};
module.exports = sidebars;

0 comments on commit c35f0d4

Please sign in to comment.