removed tsconfig checks from sidebar files

This commit is contained in:
jordan-violet-sp
2022-09-17 18:11:09 -04:00
parent a58e38e220
commit bc8c171c4c
2 changed files with 75 additions and 104 deletions

View File

@@ -1,75 +1,60 @@
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
// @ts-check
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = { const sidebars = {
openApiSidebar: [ openApiSidebar: [
{ {
type: "category", type: "category",
label: "IdentityNow", label: "IdentityNow",
collapsible: false, collapsible: false,
items: [ items: [
{ {
type: "doc", type: "doc",
id: "api/getting-started" id: "api/getting-started",
},
{
type: "doc",
id: "api/authentication",
},
{
type: "doc",
id: "api/standard-collection-parameters",
},
{
type: "doc",
id: "api/rate-limit",
},
{
type: "category",
label: "V3 APIs",
link: {
type: "generated-index",
title: "V3 APIs",
description:
"These are the public APIs for SailPoint's SaaS services. 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/v3",
}, },
{ // @ts-ignore
type: "doc", items: require("./api/v3/sidebar.js"),
id: "api/authentication" },
{
type: "category",
label: "Beta APIs",
link: {
type: "generated-index",
title: "Beta APIs",
description:
"These are the public APIs for SailPoint's SaaS services. 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/beta",
}, },
{ // @ts-ignore
type: "doc", items: require("./api/beta/sidebar.js"),
id: "api/standard-collection-parameters" },
}, ],
{ },
type: "doc", ],
id: "api/rate-limit" idnDocs: [
}, {
{ type: "autogenerated",
type: "category", dirName: "docs",
label: "V3 APIs", },
link: { ],
type: "generated-index", };
title: "V3 APIs", module.exports = sidebars;
description:
"These are the public APIs for SailPoint's SaaS services. 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/v3",
},
// @ts-ignore
items: require("./api/v3/sidebar.js"),
},
{
type: "category",
label: "Beta APIs",
link: {
type: "generated-index",
title: "Beta APIs",
description:
"These are the public APIs for SailPoint's SaaS services. 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/beta",
},
// @ts-ignore
items: require("./api/beta/sidebar.js"),
},
]
},
],
idnDocs: [
{
type: "autogenerated",
dirName: "docs",
},
],
};
module.exports = sidebars;

View File

@@ -1,33 +1,19 @@
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
// @ts-check
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = { const sidebars = {
iiqOpenApiSidebar: [ iiqOpenApiSidebar: [
{ {
type: "category", type: "category",
label: "IdentityIQ API", label: "IdentityIQ API",
link: { link: {
type: "generated-index", type: "generated-index",
title: "IdentityIQ API", title: "IdentityIQ API",
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.", description:
slug: "/api" "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",
// @ts-ignore },
items: require("./api/sidebar.js") // @ts-ignore
} items: require("./api/sidebar.js"),
], },
}; ],
};
module.exports = sidebars;
module.exports = sidebars;