Files
npis-docs/sidebars.js

166 lines
5.1 KiB
JavaScript
Raw Normal View History

2025-09-26 14:23:19 +03:00
// @ts-check
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
/**
* 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.
@type {import('@docusaurus/plugin-content-docs').SidebarsConfig}
*/
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
2025-10-16 08:50:13 +03:00
//tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
/* userGuideSidebar: [
{
type: 'autogenerated',
dirName: 'user-guide', // '.' means the current docs folder
//description: 'This section is to acquiant NPIS users with the step by step guides on how to execute their system tasks.'
},
], */
userGuideSidebar: [
{
type: 'category',
label: 'User Guides',
link: {
type: 'generated-index',
title: 'NPIS User Guides',
description:
'This section is to acquiant NPIS users with the step by step guides on how to execute their system tasks. This is as par the user reqiurements detailed in the introdution sections of the documentation portal.',
slug: '/category/user-guide',
keywords: ['guides'],
image: '/img/shortcut.png',
},
items: [
'user-guide/intro',
{
'admin':
[
'user-guide/admin/goals-and-objectives',
'user-guide/admin/core-concepts-and-terms',
{
'admin console':
[
'user-guide/admin/admin-console/admin-console-login',
'user-guide/admin/admin-console/create-realm',
'user-guide/admin/admin-console/ssl-mode',
'user-guide/admin/admin-console/email-settings',
]
}
],
'form designer':
[
'user-guide/form-designer/goals-and-objectives',
],
'workflow modeller':
[
'user-guide/workflow-modeller/goals-and-objectives',
],
'npis-client':
[
'user-guide/client/goals-and-objectives',
],
'npis-reviewer':
[
'user-guide/reviewer/goals-and-objectives',
],
'npis-evaluator':
[
'user-guide/evaluater/goals-and-objectives',
],
'npis-approver':
[
'user-guide/approver/goals-and-objectives',
],
}],
},
],
/* userGuideSidebar: [
'user-guide/intro',
{
type: 'category',
label: 'User Guides',
//items: ['user-guide/admin/congratulations'],
items: [
{
'admin':
[
'user-guide/admin/course',
'user-guide/admin/core-concepts-and-terms',
'user-guide/admin/congratulations',
'user-guide/admin/create-a-blog-post',
'user-guide/admin/create-a-document',
'user-guide/admin/create-a-page',
{
'user account management':
[
'user-guide/admin/user-account-management/admin-login',
'user-guide/admin/create-a-page',
]
}
],
'form designer':
[
'user-guide/form-designer/congratulations',
'user-guide/form-designer/create-a-blog-post',
'user-guide/form-designer/create-a-document',
'user-guide/form-designer/create-a-page',
],
'workflow modeller':
[
'user-guide/workflow-modeller/congratulations',
'user-guide/workflow-modeller/create-a-blog-post',
'user-guide/workflow-modeller/create-a-document',
'user-guide/workflow-modeller/create-a-page',
],
},]
}
], */
2025-09-26 14:23:19 +03:00
// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],
*/
2025-10-16 08:50:13 +03:00
introSidebar: [
//'intro',
//'hello',
{
type: 'category',
label: 'Requirements',
link: {
type: 'generated-index',
title: 'Project Requirements',
description:
'This section is to acquiant NPIS users with the step by step guides on how to execute their system tasks. This section is to acquiant NPIS users with the step by step guides on how to execute their system tasks. This section is to acquiant NPIS users with the step by step guides on how to execute their system tasks. This section is to acquiant NPIS users with the step by step guides on how to execute their system tasks.',
slug: '/category/project-requirements',
keywords: ['requirements'],
image: '/img/shortcut.png',
},
items: ['project-requirements/ToR', 'project-requirements/SRS'],
},
],
2025-09-26 14:23:19 +03:00
};
export default sidebars;