mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 04:19:42 +00:00
remove video.json file and dynamic pages for videos
This commit is contained in:
23
plugins.js
23
plugins.js
@@ -1,27 +1,4 @@
|
|||||||
const path = require('path');
|
|
||||||
const videos = require('./static/videos/videos.json');
|
|
||||||
const videoCardDetails = require.resolve(
|
|
||||||
'./src/components/video-library/VideoCardDetails/index.js',
|
|
||||||
);
|
|
||||||
const routes = videos.map((video) => ({
|
|
||||||
path: video.path,
|
|
||||||
exact: false,
|
|
||||||
component: videoCardDetails,
|
|
||||||
customProps: {
|
|
||||||
uuid: video.uuid,
|
|
||||||
title: video.title,
|
|
||||||
topicid: video.topicid,
|
|
||||||
},
|
|
||||||
}));
|
|
||||||
|
|
||||||
module.exports = [
|
module.exports = [
|
||||||
[
|
|
||||||
path.resolve(__dirname, 'plugin-dynamic-routes'),
|
|
||||||
{
|
|
||||||
// this is the options object passed to the plugin
|
|
||||||
routes,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
'docusaurus2-dotenv',
|
'docusaurus2-dotenv',
|
||||||
{
|
{
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,26 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"uuid": "Jd8waVWCZm3bZcNjJhRF2n",
|
|
||||||
"title": "Out of the Box Charts and Dashboards",
|
|
||||||
"path": "/videos/access-intelligence-center:-out-of-the-box-charts-&-dashboards",
|
|
||||||
"topicid": "29911"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"uuid": "frpStJBTV8xeQaE95wmbHp",
|
|
||||||
"title": "Filtering and Responsive UI",
|
|
||||||
"path": "/videos/Filtering and Responsive UI",
|
|
||||||
"topicid": "29911"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"uuid": "1j49GXFzu8Tr5ZmyLEUxam",
|
|
||||||
"title": "Authoring and Creating new Sheets",
|
|
||||||
"path": "/videos/Authoring and Creating new Sheets",
|
|
||||||
"topicid": "29911"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"uuid": "Sk9EaFTUcwKXRQ4efvsyKF",
|
|
||||||
"title": "Bookmarking Capabilities",
|
|
||||||
"path": "/videos/Bookmarking Capabilities",
|
|
||||||
"topicid": "29911"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
Reference in New Issue
Block a user