base docs

This commit is contained in:
2025-10-16 08:50:13 +03:00
parent 4c235bd7ee
commit 6a64eac91c
9 changed files with 2712 additions and 631 deletions

View File

@@ -16,7 +16,118 @@
*/
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
//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',
],
},]
}
], */
// But you can create a sidebar manually
/*
@@ -30,6 +141,25 @@ const sidebars = {
},
],
*/
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'],
},
],
};
export default sidebars;