create-specment 0.2.8 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/commands/create.d.ts +0 -1
- package/bin/constants/languages.d.ts +0 -1
- package/bin/core/interactive-setup.d.ts +0 -1
- package/bin/core/interactive-setup.js +17 -10
- package/bin/core/interactive-setup.js.map +1 -1
- package/bin/core/interactive-setup.test.d.ts +0 -1
- package/bin/core/interactive-setup.test.js +7 -7
- package/bin/core/interactive-setup.test.js.map +1 -1
- package/bin/core/project-generator.d.ts +0 -1
- package/bin/core/project-generator.js +5 -8
- package/bin/core/project-generator.js.map +1 -1
- package/bin/features/index.d.ts +0 -1
- package/bin/features/index.js +15 -13
- package/bin/features/index.js.map +1 -1
- package/bin/generators/docusaurus-config.d.ts +0 -1
- package/bin/generators/docusaurus-config.js +211 -264
- package/bin/generators/docusaurus-config.js.map +1 -1
- package/bin/generators/package-json.d.ts +0 -1
- package/bin/generators/package-json.js +45 -91
- package/bin/generators/package-json.js.map +1 -1
- package/bin/generators/template-files.d.ts +0 -1
- package/bin/generators/template-files.js +625 -229
- package/bin/generators/template-files.js.map +1 -1
- package/bin/index.d.ts +0 -1
- package/bin/index.js.map +1 -1
- package/bin/templates/index.d.ts +0 -1
- package/bin/templates/index.js +36 -24
- package/bin/templates/index.js.map +1 -1
- package/bin/tests/integration.test.d.ts +0 -1
- package/bin/tests/integration.test.js +34 -34
- package/bin/tests/integration.test.js.map +1 -1
- package/bin/types/index.d.ts +1 -21
- package/bin/utils/config-merger.d.ts +0 -1
- package/bin/utils/config-merger.js +0 -1
- package/bin/utils/config-merger.js.map +1 -1
- package/bin/utils/errors.d.ts +0 -1
- package/bin/utils/install.d.ts +0 -1
- package/bin/utils/install.js +3 -3
- package/bin/utils/install.js.map +1 -1
- package/bin/utils/message-formatter.d.ts +0 -1
- package/bin/utils/template-processor.d.ts +0 -1
- package/bin/utils/template-processor.js +2 -3
- package/bin/utils/template-processor.js.map +1 -1
- package/bin/utils/template-processor.test.d.ts +0 -1
- package/bin/utils/template-processor.test.js +22 -22
- package/bin/utils/template-processor.test.js.map +1 -1
- package/bin/utils/version.d.ts +0 -1
- package/bin/utils/version.js +3 -3
- package/bin/utils/version.js.map +1 -1
- package/package.json +2 -7
- package/templates/docs/01-overview/_assumptions-constraints.mdx +19 -0
- package/templates/docs/01-overview/_business-context.mdx +18 -0
- package/templates/docs/01-overview/_firm-proposal.mdx +52 -0
- package/templates/docs/01-overview/_gap-analysis.mdx +18 -0
- package/templates/docs/01-overview/_project/342/200/221charter.mdx +23 -0
- package/templates/docs/01-overview/_requirements-specification.mdx +73 -0
- package/templates/docs/01-overview/_risks.mdx +16 -0
- package/templates/docs/01-overview/_scope.mdx +24 -0
- package/templates/docs/01-overview/_stakeholders.mdx +24 -0
- package/templates/docs/01-overview/as-is.mdx +64 -0
- package/templates/docs/01-overview/glossary.mdx +41 -0
- package/templates/docs/01-overview/index.mdx +41 -0
- package/templates/docs/01-overview/odsc.mdx +72 -0
- package/templates/docs/01-overview/roadmap.mdx +27 -0
- package/templates/docs/01-overview/system-context.mdx +22 -0
- package/templates/docs/01-overview/to-be.mdx +102 -0
- package/templates/docs/02-requirements/_category_.yaml +2 -0
- package/templates/docs/02-requirements/functional/_category_.json +8 -0
- package/templates/docs/02-requirements/functional/_req-template.mdx +46 -0
- package/templates/docs/02-requirements/functional/req-001.mdx +52 -0
- package/templates/docs/02-requirements/index.mdx +14 -0
- package/templates/docs/02-requirements/non-functional/_category_.json +8 -0
- package/templates/docs/02-requirements/non-functional/_nfr-template.mdx +42 -0
- package/templates/docs/02-requirements/non-functional/nfr-001.mdx +57 -0
- package/templates/docs/02-requirements/non-functional/nfr-002.mdx +57 -0
- package/templates/docs/03-external/business-model.mdx +14 -0
- package/templates/docs/03-external/img/business-model-by-claude.xml +107 -0
- package/templates/docs/03-external/img/business-model.xml +84 -0
- package/templates/docs/03-external/img/docsVersionDropdown.png +0 -0
- package/templates/docs/03-external/img/gantt.xml +1 -0
- package/templates/docs/03-external/img/localeDropdown.png +0 -0
- package/templates/docs/03-external/index.mdx +46 -0
- package/templates/docs/04-internal/batches/_category_.yaml +2 -0
- package/templates/docs/04-internal/batches/import-products.mdx +64 -0
- package/templates/docs/04-internal/batches/index.mdx +25 -0
- package/templates/docs/04-internal/index.mdx +32 -0
- package/templates/docs/04-internal/policies/_category_.yaml +2 -0
- package/templates/docs/04-internal/policies/branch-naming-rules.mdx +110 -0
- package/templates/docs/04-internal/policies/github.mdx +100 -0
- package/templates/docs/04-internal/policies/pull-request-operation-flow.mdx +118 -0
- package/templates/docs/04-internal/rules/_category_.yaml +2 -0
- package/templates/docs/04-internal/rules/database.mdx +139 -0
- package/templates/docs/04-internal/rules/document-creation-rules.mdx +39 -0
- package/templates/docs/04-internal/rules/index.mdx +10 -0
- package/templates/docs/04-internal/rules/markdown.mdx +148 -0
- package/templates/docs/04-internal/rules/review-process.mdx +32 -0
- package/templates/docs/04-internal/screens/_category_.yaml +2 -0
- package/templates/docs/04-internal/screens/dashboard.mdx +17 -0
- package/templates/docs/04-internal/screens/index.mdx +20 -0
- package/templates/docs/04-internal/screens/login.mdx +18 -0
- package/templates/docs/04-internal/screens/menu.mdx +17 -0
- package/templates/docs/04-internal/tables/_category_.yaml +2 -0
- package/templates/docs/04-internal/tables/customer_details.mdx +35 -0
- package/templates/docs/04-internal/tables/customers.mdx +35 -0
- package/templates/docs/04-internal/tables/index.mdx +11 -0
- package/templates/docs/index.module.css +96 -0
- package/templates/docs/index.tsx +48 -0
- package/templates/docs/intro.md +47 -0
- package/templates/docs/introduction/document-editing/_category_.yml +2 -0
- package/templates/docs/introduction/document-editing/how-to.mdx +31 -0
- package/templates/docs/introduction/index.mdx +35 -0
- package/templates/docs/introduction/operational-policies/_category_.yaml +2 -0
- package/templates/docs/introduction/operational-policies/github.mdx +33 -0
- package/templates/docs/introduction/operational-policies/img/branch-naming-rules.svg +73 -0
- package/templates/docs/introduction/operational-policies/sharepoint.mdx +28 -0
- package/templates/package.json.template +46 -0
- package/templates/src/components/Highlight/index.tsx +68 -0
- package/templates/src/components/PriorityMatrix/index.tsx +97 -0
- package/templates/src/components/TBD/index.tsx +16 -0
- package/templates/src/css/custom.css +81 -0
- package/templates/src/types/requirements.ts +19 -0
- package/templates/static/img/business-model.drawio.svg +4 -0
- package/templates/static/img/gantt.drawio.svg +1152 -0
- package/templates/static/img/logo.svg +21 -0
- package/bin/commands/create.d.ts.map +0 -1
- package/bin/constants/languages.d.ts.map +0 -1
- package/bin/core/interactive-setup.d.ts.map +0 -1
- package/bin/core/interactive-setup.test.d.ts.map +0 -1
- package/bin/core/project-generator.d.ts.map +0 -1
- package/bin/features/index.d.ts.map +0 -1
- package/bin/generators/docusaurus-config.d.ts.map +0 -1
- package/bin/generators/package-json.d.ts.map +0 -1
- package/bin/generators/template-files.d.ts.map +0 -1
- package/bin/index.d.ts.map +0 -1
- package/bin/plugins/i18n-integration.d.ts +0 -25
- package/bin/plugins/i18n-integration.d.ts.map +0 -1
- package/bin/plugins/i18n-integration.js +0 -310
- package/bin/plugins/i18n-integration.js.map +0 -1
- package/bin/plugins/plantuml-integration.d.ts +0 -17
- package/bin/plugins/plantuml-integration.d.ts.map +0 -1
- package/bin/plugins/plantuml-integration.js +0 -112
- package/bin/plugins/plantuml-integration.js.map +0 -1
- package/bin/plugins/redoc-integration.d.ts +0 -25
- package/bin/plugins/redoc-integration.d.ts.map +0 -1
- package/bin/plugins/redoc-integration.js +0 -373
- package/bin/plugins/redoc-integration.js.map +0 -1
- package/bin/plugins/search-integration.d.ts +0 -20
- package/bin/plugins/search-integration.d.ts.map +0 -1
- package/bin/plugins/search-integration.js +0 -169
- package/bin/plugins/search-integration.js.map +0 -1
- package/bin/templates/index.d.ts.map +0 -1
- package/bin/templates/template-definitions.d.ts +0 -10
- package/bin/templates/template-definitions.d.ts.map +0 -1
- package/bin/templates/template-definitions.js +0 -517
- package/bin/templates/template-definitions.js.map +0 -1
- package/bin/tests/integration.test.d.ts.map +0 -1
- package/bin/types/index.d.ts.map +0 -1
- package/bin/utils/config-merger.d.ts.map +0 -1
- package/bin/utils/errors.d.ts.map +0 -1
- package/bin/utils/install.d.ts.map +0 -1
- package/bin/utils/message-formatter.d.ts.map +0 -1
- package/bin/utils/template-processor.d.ts.map +0 -1
- package/bin/utils/template-processor.test.d.ts.map +0 -1
- package/bin/utils/version.d.ts.map +0 -1
- package/templates/classic-spec/docusaurus.config.js.template +0 -106
- package/templates/classic-spec/package.json.template +0 -36
- package/templates/external-design/docusaurus.config.js.template +0 -123
- package/templates/external-design/package.json.template +0 -36
- package/templates/internal-design/docusaurus.config.js.template +0 -123
- package/templates/internal-design/package.json.template +0 -36
- package/templates/project-analysis/docusaurus.config.js.template +0 -113
- package/templates/project-analysis/package.json.template +0 -36
- package/templates/requirements/docusaurus.config.js.template +0 -119
- package/templates/requirements/package.json.template +0 -36
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{projectName}}",
|
|
3
|
-
"version": "0.0.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"docusaurus": "docusaurus",
|
|
7
|
-
"start": "docusaurus start",
|
|
8
|
-
"build": "docusaurus build",
|
|
9
|
-
"swizzle": "docusaurus swizzle",
|
|
10
|
-
"deploy": "docusaurus deploy",
|
|
11
|
-
"clear": "docusaurus clear",
|
|
12
|
-
"serve": "docusaurus serve",
|
|
13
|
-
"write-translations": "docusaurus write-translations",
|
|
14
|
-
"write-heading-ids": "docusaurus write-heading-ids"
|
|
15
|
-
},
|
|
16
|
-
"dependencies": {
|
|
17
|
-
"@docusaurus/core": "^3.0.0",
|
|
18
|
-
"@docusaurus/preset-classic": "^3.0.0",
|
|
19
|
-
"@mdx-js/react": "^3.0.0",
|
|
20
|
-
"clsx": "^2.0.0",
|
|
21
|
-
"prism-react-renderer": "^2.3.0",
|
|
22
|
-
"react": "^18.0.0",
|
|
23
|
-
"react-dom": "^18.0.0"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@docusaurus/module-type-aliases": "^3.0.0",
|
|
27
|
-
"@docusaurus/types": "^3.0.0"
|
|
28
|
-
},
|
|
29
|
-
"browserslist": {
|
|
30
|
-
"production": [">0.5%", "not dead", "not op_mini all"],
|
|
31
|
-
"development": ["last 3 chrome version", "last 3 firefox version", "last 5 safari version"]
|
|
32
|
-
},
|
|
33
|
-
"engines": {
|
|
34
|
-
"node": ">=20.0"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
// @ts-check
|
|
2
|
-
// Note: type annotations allow type checking and IDEs autocompletion
|
|
3
|
-
|
|
4
|
-
/** @type {import('@docusaurus/types').Config} */
|
|
5
|
-
const config = {
|
|
6
|
-
title: '{{projectName}}',
|
|
7
|
-
tagline: 'External Design Specification Documentation',
|
|
8
|
-
favicon: 'img/favicon.ico',
|
|
9
|
-
|
|
10
|
-
// Set the production url of your site here
|
|
11
|
-
url: 'https://your-docusaurus-site.example.com',
|
|
12
|
-
// Set the /<baseUrl>/ pathname under which your site is served
|
|
13
|
-
baseUrl: '/',
|
|
14
|
-
|
|
15
|
-
// GitHub pages deployment config.
|
|
16
|
-
organizationName: 'your-org',
|
|
17
|
-
projectName: '{{projectName}}',
|
|
18
|
-
|
|
19
|
-
onBrokenLinks: 'throw',
|
|
20
|
-
onBrokenMarkdownLinks: 'warn',
|
|
21
|
-
|
|
22
|
-
// Even if you don't use internalization, you can use this field to set useful
|
|
23
|
-
// metadata like html lang. For example, if your site is Chinese, you may want
|
|
24
|
-
// to replace "en" with "zh-Hans".
|
|
25
|
-
i18n: {
|
|
26
|
-
defaultLocale: 'en',
|
|
27
|
-
locales: ['en'],
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
presets: [
|
|
31
|
-
[
|
|
32
|
-
'classic',
|
|
33
|
-
/** @type {import('@docusaurus/preset-classic').Options} */
|
|
34
|
-
({
|
|
35
|
-
docs: {
|
|
36
|
-
sidebarPath: require.resolve('./sidebars.js'),
|
|
37
|
-
editUrl: 'https://github.com/your-org/your-repo/tree/main/',
|
|
38
|
-
},
|
|
39
|
-
blog: false, // Disable blog for external design
|
|
40
|
-
theme: {
|
|
41
|
-
customCss: require.resolve('./src/css/custom.css'),
|
|
42
|
-
},
|
|
43
|
-
}),
|
|
44
|
-
],
|
|
45
|
-
],
|
|
46
|
-
|
|
47
|
-
themeConfig:
|
|
48
|
-
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
|
49
|
-
({
|
|
50
|
-
// Replace with your project's social card
|
|
51
|
-
image: 'img/docusaurus-social-card.jpg',
|
|
52
|
-
navbar: {
|
|
53
|
-
title: '{{projectName}}',
|
|
54
|
-
logo: {
|
|
55
|
-
alt: '{{projectName}} Logo',
|
|
56
|
-
src: 'img/logo.svg',
|
|
57
|
-
},
|
|
58
|
-
items: [
|
|
59
|
-
{
|
|
60
|
-
type: 'docSidebar',
|
|
61
|
-
sidebarId: 'architectureSidebar',
|
|
62
|
-
position: 'left',
|
|
63
|
-
label: 'Architecture',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
type: 'docSidebar',
|
|
67
|
-
sidebarId: 'apiSidebar',
|
|
68
|
-
position: 'left',
|
|
69
|
-
label: 'API Design',
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
type: 'docSidebar',
|
|
73
|
-
sidebarId: 'uiSidebar',
|
|
74
|
-
position: 'left',
|
|
75
|
-
label: 'UI/UX Design',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
href: 'https://github.com/your-org/your-repo',
|
|
79
|
-
label: 'GitHub',
|
|
80
|
-
position: 'right',
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
footer: {
|
|
85
|
-
style: 'dark',
|
|
86
|
-
links: [
|
|
87
|
-
{
|
|
88
|
-
title: 'Design',
|
|
89
|
-
items: [
|
|
90
|
-
{
|
|
91
|
-
label: 'System Architecture',
|
|
92
|
-
to: '/docs/architecture/intro',
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
label: 'API Design',
|
|
96
|
-
to: '/docs/api/intro',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
label: 'UI/UX Design',
|
|
100
|
-
to: '/docs/ui/intro',
|
|
101
|
-
},
|
|
102
|
-
],
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
title: 'Community',
|
|
106
|
-
items: [
|
|
107
|
-
{
|
|
108
|
-
label: 'GitHub',
|
|
109
|
-
href: 'https://github.com/your-org/your-repo',
|
|
110
|
-
},
|
|
111
|
-
],
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
copyright: `Copyright © ${new Date().getFullYear()} {{projectName}}. Built with Docusaurus.`,
|
|
115
|
-
},
|
|
116
|
-
prism: {
|
|
117
|
-
theme: require('prism-react-renderer/themes/github'),
|
|
118
|
-
darkTheme: require('prism-react-renderer/themes/dracula'),
|
|
119
|
-
},
|
|
120
|
-
}),
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
module.exports = config;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{projectName}}",
|
|
3
|
-
"version": "0.0.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"docusaurus": "docusaurus",
|
|
7
|
-
"start": "docusaurus start",
|
|
8
|
-
"build": "docusaurus build",
|
|
9
|
-
"swizzle": "docusaurus swizzle",
|
|
10
|
-
"deploy": "docusaurus deploy",
|
|
11
|
-
"clear": "docusaurus clear",
|
|
12
|
-
"serve": "docusaurus serve",
|
|
13
|
-
"write-translations": "docusaurus write-translations",
|
|
14
|
-
"write-heading-ids": "docusaurus write-heading-ids"
|
|
15
|
-
},
|
|
16
|
-
"dependencies": {
|
|
17
|
-
"@docusaurus/core": "^3.0.0",
|
|
18
|
-
"@docusaurus/preset-classic": "^3.0.0",
|
|
19
|
-
"@mdx-js/react": "^3.0.0",
|
|
20
|
-
"clsx": "^2.0.0",
|
|
21
|
-
"prism-react-renderer": "^2.3.0",
|
|
22
|
-
"react": "^18.0.0",
|
|
23
|
-
"react-dom": "^18.0.0"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@docusaurus/module-type-aliases": "^3.0.0",
|
|
27
|
-
"@docusaurus/types": "^3.0.0"
|
|
28
|
-
},
|
|
29
|
-
"browserslist": {
|
|
30
|
-
"production": [">0.5%", "not dead", "not op_mini all"],
|
|
31
|
-
"development": ["last 3 chrome version", "last 3 firefox version", "last 5 safari version"]
|
|
32
|
-
},
|
|
33
|
-
"engines": {
|
|
34
|
-
"node": ">=20.0"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
// @ts-check
|
|
2
|
-
// Note: type annotations allow type checking and IDEs autocompletion
|
|
3
|
-
|
|
4
|
-
/** @type {import('@docusaurus/types').Config} */
|
|
5
|
-
const config = {
|
|
6
|
-
title: '{{projectName}}',
|
|
7
|
-
tagline: 'Internal Design Specification Documentation',
|
|
8
|
-
favicon: 'img/favicon.ico',
|
|
9
|
-
|
|
10
|
-
// Set the production url of your site here
|
|
11
|
-
url: 'https://your-docusaurus-site.example.com',
|
|
12
|
-
// Set the /<baseUrl>/ pathname under which your site is served
|
|
13
|
-
baseUrl: '/',
|
|
14
|
-
|
|
15
|
-
// GitHub pages deployment config.
|
|
16
|
-
organizationName: 'your-org',
|
|
17
|
-
projectName: '{{projectName}}',
|
|
18
|
-
|
|
19
|
-
onBrokenLinks: 'throw',
|
|
20
|
-
onBrokenMarkdownLinks: 'warn',
|
|
21
|
-
|
|
22
|
-
// Even if you don't use internalization, you can use this field to set useful
|
|
23
|
-
// metadata like html lang. For example, if your site is Chinese, you may want
|
|
24
|
-
// to replace "en" with "zh-Hans".
|
|
25
|
-
i18n: {
|
|
26
|
-
defaultLocale: 'en',
|
|
27
|
-
locales: ['en'],
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
presets: [
|
|
31
|
-
[
|
|
32
|
-
'classic',
|
|
33
|
-
/** @type {import('@docusaurus/preset-classic').Options} */
|
|
34
|
-
({
|
|
35
|
-
docs: {
|
|
36
|
-
sidebarPath: require.resolve('./sidebars.js'),
|
|
37
|
-
editUrl: 'https://github.com/your-org/your-repo/tree/main/',
|
|
38
|
-
},
|
|
39
|
-
blog: false, // Disable blog for internal design
|
|
40
|
-
theme: {
|
|
41
|
-
customCss: require.resolve('./src/css/custom.css'),
|
|
42
|
-
},
|
|
43
|
-
}),
|
|
44
|
-
],
|
|
45
|
-
],
|
|
46
|
-
|
|
47
|
-
themeConfig:
|
|
48
|
-
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
|
49
|
-
({
|
|
50
|
-
// Replace with your project's social card
|
|
51
|
-
image: 'img/docusaurus-social-card.jpg',
|
|
52
|
-
navbar: {
|
|
53
|
-
title: '{{projectName}}',
|
|
54
|
-
logo: {
|
|
55
|
-
alt: '{{projectName}} Logo',
|
|
56
|
-
src: 'img/logo.svg',
|
|
57
|
-
},
|
|
58
|
-
items: [
|
|
59
|
-
{
|
|
60
|
-
type: 'docSidebar',
|
|
61
|
-
sidebarId: 'implementationSidebar',
|
|
62
|
-
position: 'left',
|
|
63
|
-
label: 'Implementation',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
type: 'docSidebar',
|
|
67
|
-
sidebarId: 'databaseSidebar',
|
|
68
|
-
position: 'left',
|
|
69
|
-
label: 'Database Design',
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
type: 'docSidebar',
|
|
73
|
-
sidebarId: 'algorithmSidebar',
|
|
74
|
-
position: 'left',
|
|
75
|
-
label: 'Algorithms',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
href: 'https://github.com/your-org/your-repo',
|
|
79
|
-
label: 'GitHub',
|
|
80
|
-
position: 'right',
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
footer: {
|
|
85
|
-
style: 'dark',
|
|
86
|
-
links: [
|
|
87
|
-
{
|
|
88
|
-
title: 'Internal Design',
|
|
89
|
-
items: [
|
|
90
|
-
{
|
|
91
|
-
label: 'Implementation Details',
|
|
92
|
-
to: '/docs/implementation/intro',
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
label: 'Database Design',
|
|
96
|
-
to: '/docs/database/intro',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
label: 'Algorithms',
|
|
100
|
-
to: '/docs/algorithms/intro',
|
|
101
|
-
},
|
|
102
|
-
],
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
title: 'Community',
|
|
106
|
-
items: [
|
|
107
|
-
{
|
|
108
|
-
label: 'GitHub',
|
|
109
|
-
href: 'https://github.com/your-org/your-repo',
|
|
110
|
-
},
|
|
111
|
-
],
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
copyright: `Copyright © ${new Date().getFullYear()} {{projectName}}. Built with Docusaurus.`,
|
|
115
|
-
},
|
|
116
|
-
prism: {
|
|
117
|
-
theme: require('prism-react-renderer/themes/github'),
|
|
118
|
-
darkTheme: require('prism-react-renderer/themes/dracula'),
|
|
119
|
-
},
|
|
120
|
-
}),
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
module.exports = config;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{projectName}}",
|
|
3
|
-
"version": "0.0.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"docusaurus": "docusaurus",
|
|
7
|
-
"start": "docusaurus start",
|
|
8
|
-
"build": "docusaurus build",
|
|
9
|
-
"swizzle": "docusaurus swizzle",
|
|
10
|
-
"deploy": "docusaurus deploy",
|
|
11
|
-
"clear": "docusaurus clear",
|
|
12
|
-
"serve": "docusaurus serve",
|
|
13
|
-
"write-translations": "docusaurus write-translations",
|
|
14
|
-
"write-heading-ids": "docusaurus write-heading-ids"
|
|
15
|
-
},
|
|
16
|
-
"dependencies": {
|
|
17
|
-
"@docusaurus/core": "^3.0.0",
|
|
18
|
-
"@docusaurus/preset-classic": "^3.0.0",
|
|
19
|
-
"@mdx-js/react": "^3.0.0",
|
|
20
|
-
"clsx": "^2.0.0",
|
|
21
|
-
"prism-react-renderer": "^2.3.0",
|
|
22
|
-
"react": "^18.0.0",
|
|
23
|
-
"react-dom": "^18.0.0"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@docusaurus/module-type-aliases": "^3.0.0",
|
|
27
|
-
"@docusaurus/types": "^3.0.0"
|
|
28
|
-
},
|
|
29
|
-
"browserslist": {
|
|
30
|
-
"production": [">0.5%", "not dead", "not op_mini all"],
|
|
31
|
-
"development": ["last 3 chrome version", "last 3 firefox version", "last 5 safari version"]
|
|
32
|
-
},
|
|
33
|
-
"engines": {
|
|
34
|
-
"node": ">=20.0"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
// @ts-check
|
|
2
|
-
// Note: type annotations allow type checking and IDEs autocompletion
|
|
3
|
-
|
|
4
|
-
/** @type {import('@docusaurus/types').Config} */
|
|
5
|
-
const config = {
|
|
6
|
-
title: '{{projectName}}',
|
|
7
|
-
tagline: 'Project Analysis & Overview Documentation',
|
|
8
|
-
favicon: 'img/favicon.ico',
|
|
9
|
-
|
|
10
|
-
// Set the production url of your site here
|
|
11
|
-
url: 'https://your-docusaurus-site.example.com',
|
|
12
|
-
// Set the /<baseUrl>/ pathname under which your site is served
|
|
13
|
-
baseUrl: '/',
|
|
14
|
-
|
|
15
|
-
// GitHub pages deployment config.
|
|
16
|
-
organizationName: 'your-org',
|
|
17
|
-
projectName: '{{projectName}}',
|
|
18
|
-
|
|
19
|
-
onBrokenLinks: 'throw',
|
|
20
|
-
onBrokenMarkdownLinks: 'warn',
|
|
21
|
-
|
|
22
|
-
// Even if you don't use internalization, you can use this field to set useful
|
|
23
|
-
// metadata like html lang. For example, if your site is Chinese, you may want
|
|
24
|
-
// to replace "en" with "zh-Hans".
|
|
25
|
-
i18n: {
|
|
26
|
-
defaultLocale: 'en',
|
|
27
|
-
locales: ['en'],
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
presets: [
|
|
31
|
-
[
|
|
32
|
-
'classic',
|
|
33
|
-
/** @type {import('@docusaurus/preset-classic').Options} */
|
|
34
|
-
({
|
|
35
|
-
docs: {
|
|
36
|
-
sidebarPath: require.resolve('./sidebars.js'),
|
|
37
|
-
editUrl: 'https://github.com/your-org/your-repo/tree/main/',
|
|
38
|
-
},
|
|
39
|
-
blog: false, // Disable blog for project analysis
|
|
40
|
-
theme: {
|
|
41
|
-
customCss: require.resolve('./src/css/custom.css'),
|
|
42
|
-
},
|
|
43
|
-
}),
|
|
44
|
-
],
|
|
45
|
-
],
|
|
46
|
-
|
|
47
|
-
themeConfig:
|
|
48
|
-
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
|
49
|
-
({
|
|
50
|
-
// Replace with your project's social card
|
|
51
|
-
image: 'img/docusaurus-social-card.jpg',
|
|
52
|
-
navbar: {
|
|
53
|
-
title: '{{projectName}}',
|
|
54
|
-
logo: {
|
|
55
|
-
alt: '{{projectName}} Logo',
|
|
56
|
-
src: 'img/logo.svg',
|
|
57
|
-
},
|
|
58
|
-
items: [
|
|
59
|
-
{
|
|
60
|
-
type: 'docSidebar',
|
|
61
|
-
sidebarId: 'analysisSidebar',
|
|
62
|
-
position: 'left',
|
|
63
|
-
label: 'Project Analysis',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
type: 'docSidebar',
|
|
67
|
-
sidebarId: 'overviewSidebar',
|
|
68
|
-
position: 'left',
|
|
69
|
-
label: 'Overview',
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
href: 'https://github.com/your-org/your-repo',
|
|
73
|
-
label: 'GitHub',
|
|
74
|
-
position: 'right',
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
},
|
|
78
|
-
footer: {
|
|
79
|
-
style: 'dark',
|
|
80
|
-
links: [
|
|
81
|
-
{
|
|
82
|
-
title: 'Documentation',
|
|
83
|
-
items: [
|
|
84
|
-
{
|
|
85
|
-
label: 'Project Analysis',
|
|
86
|
-
to: '/docs/analysis/intro',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
label: 'Overview',
|
|
90
|
-
to: '/docs/overview/intro',
|
|
91
|
-
},
|
|
92
|
-
],
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
title: 'Community',
|
|
96
|
-
items: [
|
|
97
|
-
{
|
|
98
|
-
label: 'GitHub',
|
|
99
|
-
href: 'https://github.com/your-org/your-repo',
|
|
100
|
-
},
|
|
101
|
-
],
|
|
102
|
-
},
|
|
103
|
-
],
|
|
104
|
-
copyright: `Copyright © ${new Date().getFullYear()} {{projectName}}. Built with Docusaurus.`,
|
|
105
|
-
},
|
|
106
|
-
prism: {
|
|
107
|
-
theme: require('prism-react-renderer/themes/github'),
|
|
108
|
-
darkTheme: require('prism-react-renderer/themes/dracula'),
|
|
109
|
-
},
|
|
110
|
-
}),
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
module.exports = config;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{projectName}}",
|
|
3
|
-
"version": "0.0.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"docusaurus": "docusaurus",
|
|
7
|
-
"start": "docusaurus start",
|
|
8
|
-
"build": "docusaurus build",
|
|
9
|
-
"swizzle": "docusaurus swizzle",
|
|
10
|
-
"deploy": "docusaurus deploy",
|
|
11
|
-
"clear": "docusaurus clear",
|
|
12
|
-
"serve": "docusaurus serve",
|
|
13
|
-
"write-translations": "docusaurus write-translations",
|
|
14
|
-
"write-heading-ids": "docusaurus write-heading-ids"
|
|
15
|
-
},
|
|
16
|
-
"dependencies": {
|
|
17
|
-
"@docusaurus/core": "^3.0.0",
|
|
18
|
-
"@docusaurus/preset-classic": "^3.0.0",
|
|
19
|
-
"@mdx-js/react": "^3.0.0",
|
|
20
|
-
"clsx": "^2.0.0",
|
|
21
|
-
"prism-react-renderer": "^2.3.0",
|
|
22
|
-
"react": "^18.0.0",
|
|
23
|
-
"react-dom": "^18.0.0"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@docusaurus/module-type-aliases": "^3.0.0",
|
|
27
|
-
"@docusaurus/types": "^3.0.0"
|
|
28
|
-
},
|
|
29
|
-
"browserslist": {
|
|
30
|
-
"production": [">0.5%", "not dead", "not op_mini all"],
|
|
31
|
-
"development": ["last 3 chrome version", "last 3 firefox version", "last 5 safari version"]
|
|
32
|
-
},
|
|
33
|
-
"engines": {
|
|
34
|
-
"node": ">=20.0"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
// @ts-check
|
|
2
|
-
// Note: type annotations allow type checking and IDEs autocompletion
|
|
3
|
-
|
|
4
|
-
/** @type {import('@docusaurus/types').Config} */
|
|
5
|
-
const config = {
|
|
6
|
-
title: '{{projectName}}',
|
|
7
|
-
tagline: 'Requirements Specification Documentation',
|
|
8
|
-
favicon: 'img/favicon.ico',
|
|
9
|
-
|
|
10
|
-
// Set the production url of your site here
|
|
11
|
-
url: 'https://your-docusaurus-site.example.com',
|
|
12
|
-
// Set the /<baseUrl>/ pathname under which your site is served
|
|
13
|
-
baseUrl: '/',
|
|
14
|
-
|
|
15
|
-
// GitHub pages deployment config.
|
|
16
|
-
organizationName: 'your-org',
|
|
17
|
-
projectName: '{{projectName}}',
|
|
18
|
-
|
|
19
|
-
onBrokenLinks: 'throw',
|
|
20
|
-
onBrokenMarkdownLinks: 'warn',
|
|
21
|
-
|
|
22
|
-
// Even if you don't use internalization, you can use this field to set useful
|
|
23
|
-
// metadata like html lang. For example, if your site is Chinese, you may want
|
|
24
|
-
// to replace "en" with "zh-Hans".
|
|
25
|
-
i18n: {
|
|
26
|
-
defaultLocale: 'en',
|
|
27
|
-
locales: ['en'],
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
presets: [
|
|
31
|
-
[
|
|
32
|
-
'classic',
|
|
33
|
-
/** @type {import('@docusaurus/preset-classic').Options} */
|
|
34
|
-
({
|
|
35
|
-
docs: {
|
|
36
|
-
sidebarPath: require.resolve('./sidebars.js'),
|
|
37
|
-
editUrl: 'https://github.com/your-org/your-repo/tree/main/',
|
|
38
|
-
},
|
|
39
|
-
blog: false, // Disable blog for requirements
|
|
40
|
-
theme: {
|
|
41
|
-
customCss: require.resolve('./src/css/custom.css'),
|
|
42
|
-
},
|
|
43
|
-
}),
|
|
44
|
-
],
|
|
45
|
-
],
|
|
46
|
-
|
|
47
|
-
themeConfig:
|
|
48
|
-
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
|
49
|
-
({
|
|
50
|
-
// Replace with your project's social card
|
|
51
|
-
image: 'img/docusaurus-social-card.jpg',
|
|
52
|
-
navbar: {
|
|
53
|
-
title: '{{projectName}}',
|
|
54
|
-
logo: {
|
|
55
|
-
alt: '{{projectName}} Logo',
|
|
56
|
-
src: 'img/logo.svg',
|
|
57
|
-
},
|
|
58
|
-
items: [
|
|
59
|
-
{
|
|
60
|
-
type: 'docSidebar',
|
|
61
|
-
sidebarId: 'requirementsSidebar',
|
|
62
|
-
position: 'left',
|
|
63
|
-
label: 'Requirements',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
type: 'docSidebar',
|
|
67
|
-
sidebarId: 'functionalSidebar',
|
|
68
|
-
position: 'left',
|
|
69
|
-
label: 'Functional',
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
type: 'docSidebar',
|
|
73
|
-
sidebarId: 'nonFunctionalSidebar',
|
|
74
|
-
position: 'left',
|
|
75
|
-
label: 'Non-Functional',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
href: 'https://github.com/your-org/your-repo',
|
|
79
|
-
label: 'GitHub',
|
|
80
|
-
position: 'right',
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
footer: {
|
|
85
|
-
style: 'dark',
|
|
86
|
-
links: [
|
|
87
|
-
{
|
|
88
|
-
title: 'Requirements',
|
|
89
|
-
items: [
|
|
90
|
-
{
|
|
91
|
-
label: 'Functional Requirements',
|
|
92
|
-
to: '/docs/functional/intro',
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
label: 'Non-Functional Requirements',
|
|
96
|
-
to: '/docs/non-functional/intro',
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
title: 'Community',
|
|
102
|
-
items: [
|
|
103
|
-
{
|
|
104
|
-
label: 'GitHub',
|
|
105
|
-
href: 'https://github.com/your-org/your-repo',
|
|
106
|
-
},
|
|
107
|
-
],
|
|
108
|
-
},
|
|
109
|
-
],
|
|
110
|
-
copyright: `Copyright © ${new Date().getFullYear()} {{projectName}}. Built with Docusaurus.`,
|
|
111
|
-
},
|
|
112
|
-
prism: {
|
|
113
|
-
theme: require('prism-react-renderer/themes/github'),
|
|
114
|
-
darkTheme: require('prism-react-renderer/themes/dracula'),
|
|
115
|
-
},
|
|
116
|
-
}),
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
module.exports = config;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{projectName}}",
|
|
3
|
-
"version": "0.0.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"docusaurus": "docusaurus",
|
|
7
|
-
"start": "docusaurus start",
|
|
8
|
-
"build": "docusaurus build",
|
|
9
|
-
"swizzle": "docusaurus swizzle",
|
|
10
|
-
"deploy": "docusaurus deploy",
|
|
11
|
-
"clear": "docusaurus clear",
|
|
12
|
-
"serve": "docusaurus serve",
|
|
13
|
-
"write-translations": "docusaurus write-translations",
|
|
14
|
-
"write-heading-ids": "docusaurus write-heading-ids"
|
|
15
|
-
},
|
|
16
|
-
"dependencies": {
|
|
17
|
-
"@docusaurus/core": "^3.0.0",
|
|
18
|
-
"@docusaurus/preset-classic": "^3.0.0",
|
|
19
|
-
"@mdx-js/react": "^3.0.0",
|
|
20
|
-
"clsx": "^2.0.0",
|
|
21
|
-
"prism-react-renderer": "^2.3.0",
|
|
22
|
-
"react": "^18.0.0",
|
|
23
|
-
"react-dom": "^18.0.0"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@docusaurus/module-type-aliases": "^3.0.0",
|
|
27
|
-
"@docusaurus/types": "^3.0.0"
|
|
28
|
-
},
|
|
29
|
-
"browserslist": {
|
|
30
|
-
"production": [">0.5%", "not dead", "not op_mini all"],
|
|
31
|
-
"development": ["last 3 chrome version", "last 3 firefox version", "last 5 safari version"]
|
|
32
|
-
},
|
|
33
|
-
"engines": {
|
|
34
|
-
"node": ">=20.0"
|
|
35
|
-
}
|
|
36
|
-
}
|