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
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 1
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Tutorial Intro
|
|
6
|
+
|
|
7
|
+
Let's discover **Docusaurus in less than 5 minutes**.
|
|
8
|
+
|
|
9
|
+
## Getting Started
|
|
10
|
+
|
|
11
|
+
Get started by **creating a new site**.
|
|
12
|
+
|
|
13
|
+
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
|
|
14
|
+
|
|
15
|
+
### What you'll need
|
|
16
|
+
|
|
17
|
+
- [Node.js](https://nodejs.org/en/download/) version 18.0 or above:
|
|
18
|
+
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
|
|
19
|
+
|
|
20
|
+
## Generate a new site
|
|
21
|
+
|
|
22
|
+
Generate a new Docusaurus site using the **classic template**.
|
|
23
|
+
|
|
24
|
+
The classic template will automatically be added to your project after you run the command:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm init docusaurus@latest my-website classic
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
|
|
31
|
+
|
|
32
|
+
The command also installs all necessary dependencies you need to run Docusaurus.
|
|
33
|
+
|
|
34
|
+
## Start your site
|
|
35
|
+
|
|
36
|
+
Run the development server:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
cd my-website
|
|
40
|
+
npm run start
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.
|
|
44
|
+
|
|
45
|
+
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
|
|
46
|
+
|
|
47
|
+
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 1
|
|
3
|
+
tag:
|
|
4
|
+
- Markdown
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 概要
|
|
8
|
+
## フォルダー構成 {#folder-configuration}
|
|
9
|
+
```
|
|
10
|
+
\
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## サイドバー {#sidebar}
|
|
14
|
+
1. mdx(md)ファイルで作成すると自動的にコンテンツとなる
|
|
15
|
+
1. 表示順を変更したい場合はファイルの最初にyaml形式で定義する
|
|
16
|
+
1. 参考: 公式Docusaurus.[Markdown front matter](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs#markdown-front-matter)
|
|
17
|
+
1. 例
|
|
18
|
+
```mdx title="sample.mdx"
|
|
19
|
+
---
|
|
20
|
+
sidebar_position: 1
|
|
21
|
+
---
|
|
22
|
+
# サンプル
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 階層表示したい場合 {#to-layerd}
|
|
26
|
+
1. サブフォルダーを作成し、そこにファイル `_category_.yml` を作る
|
|
27
|
+
1. 例
|
|
28
|
+
```yml title="_category_.yml"
|
|
29
|
+
label: 'ドキュメント編集方法'
|
|
30
|
+
position: 4
|
|
31
|
+
```
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: index
|
|
3
|
+
sidebar_position: 1
|
|
4
|
+
hide_title: true
|
|
5
|
+
---
|
|
6
|
+
import TBD from '@site/src/components/TBD';
|
|
7
|
+
|
|
8
|
+
# Introduction
|
|
9
|
+
|
|
10
|
+
:::tip
|
|
11
|
+
1. このドキュメントサイトは各プロジェクトごとの作成例です
|
|
12
|
+
1. ソースとドキュメントを一元管理する(できる)ことを示しています
|
|
13
|
+
:::
|
|
14
|
+
|
|
15
|
+
## 参考になりそうな情報
|
|
16
|
+
1. Qiita: [良いコードの書き方](https://qiita.com/alt_yamamoto/items/25eda376e6b947208996)
|
|
17
|
+
1. コーディング規約のガイドラインとして参考にしたい
|
|
18
|
+
1. Website: Qbook会員限定-[この一冊でソフトウェアテストの基本がわかる!](https://www.qbook.jp/e-book/software-kiso/)
|
|
19
|
+
1. Qbook会員になると無料で読める
|
|
20
|
+
1. テストについて資料したい場合の参考に
|
|
21
|
+
1. Website(PDF): IPA情報処理推進機構-[事例3: 要件定義ドキュメントの漏れや曖昧性の低減](https://www.ipa.go.jp/archive/files/000072725.pdf)
|
|
22
|
+
1. 要件定義に必要なこと、その後に作成するドキュメントの順番などがわかりやすく書かれている
|
|
23
|
+
1. GitHub: [nablarch-development-standards](https://github.com/nablarch-development-standards/nablarch-development-standards)
|
|
24
|
+
1. Nablarch開発標準
|
|
25
|
+
1. Excelなどで書かれているドキュメント
|
|
26
|
+
1. Officeドキュメントなのが残念だけど、書物としては参考にしやすそう
|
|
27
|
+
|
|
28
|
+
## 気になるアプリケーションなど
|
|
29
|
+
1. [Playwright](https://playwright.dev)
|
|
30
|
+
1. TypeScriptで作られたE2Eテスト。
|
|
31
|
+
1. メジャーなブラウザーをコレひとつでテストできるようになる
|
|
32
|
+
1. 可能なら導入確認していきたい
|
|
33
|
+
1. [Biome](https://biomejs.dev)
|
|
34
|
+
1. Node.jsでのlintやフォーマッターをコレひとつで管理できるようしたもの
|
|
35
|
+
1. Node.jsだとeslintが有名だけど、設定の面倒な部分や高速化したい時にBiomeの導入を検討したい
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 1
|
|
3
|
+
tag:
|
|
4
|
+
- Git
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# GitHub
|
|
8
|
+
1. リポジトリは右上のGitHubアイコンをクリックする
|
|
9
|
+
|
|
10
|
+
## 概要 {#overview}
|
|
11
|
+
1. コンテンツの管理、IssueなどすべてをGitHubで行う
|
|
12
|
+
|
|
13
|
+
## ブランチ命名ルール {#branch-naming}
|
|
14
|
+
1. 基本はケバブケース(例: `feature/abc-def`)
|
|
15
|
+
1. [`^(feature\/|bugfix\/|revert\/|cherry-pick\/)(issue-name-or-summary-[a-z0-9\-]*)$`](https://regexper.com/#%5E%28feature%5C%2F%7Cbugfix%5C%2F%7Crevert%5C%2F%7Ccherry-pick%5C%2F%29%28issue-name-or-summary-%5Ba-z0-9%5C-%5D*%29%24)
|
|
16
|
+
1. 
|
|
17
|
+
1. 例
|
|
18
|
+
1. `feature/issue123-frontend-add-lgoin`
|
|
19
|
+
1. `feature/issue333-website-update-docusaurus-3-0-1`
|
|
20
|
+
|
|
21
|
+
### `feature/`
|
|
22
|
+
1. 以下を除くすべて
|
|
23
|
+
|
|
24
|
+
### `bugfix/`
|
|
25
|
+
1. バグ発生時の対応時に使用する
|
|
26
|
+
1. ここでのバグは`main`へmerge後に発生したものを指す
|
|
27
|
+
1. テスト中の発生したものは含まない
|
|
28
|
+
|
|
29
|
+
### `revert/`
|
|
30
|
+
1. revert時
|
|
31
|
+
|
|
32
|
+
### `cherry-pick/`
|
|
33
|
+
1. cherry-pick利用時
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" version="1.1" width="642.8124389648438" height="172.5">
|
|
3
|
+
<defs>
|
|
4
|
+
<style type="text/css">svg {
|
|
5
|
+
background-color: #fff; }
|
|
6
|
+
|
|
7
|
+
.root text,
|
|
8
|
+
.root tspan {
|
|
9
|
+
font: 12px Arial; }
|
|
10
|
+
|
|
11
|
+
.root path {
|
|
12
|
+
fill-opacity: 0;
|
|
13
|
+
stroke-width: 2px;
|
|
14
|
+
stroke: #000; }
|
|
15
|
+
|
|
16
|
+
.root circle {
|
|
17
|
+
fill: #6b6659;
|
|
18
|
+
stroke-width: 2px;
|
|
19
|
+
stroke: #000; }
|
|
20
|
+
|
|
21
|
+
.anchor text, .any-character text {
|
|
22
|
+
fill: #fff; }
|
|
23
|
+
|
|
24
|
+
.anchor rect, .any-character rect {
|
|
25
|
+
fill: #6b6659; }
|
|
26
|
+
|
|
27
|
+
.escape text, .charset-escape text, .literal text {
|
|
28
|
+
fill: #000; }
|
|
29
|
+
|
|
30
|
+
.escape rect, .charset-escape rect {
|
|
31
|
+
fill: #bada55; }
|
|
32
|
+
|
|
33
|
+
.literal rect {
|
|
34
|
+
fill: #dae9e5; }
|
|
35
|
+
|
|
36
|
+
.charset .charset-box {
|
|
37
|
+
fill: #cbcbba; }
|
|
38
|
+
|
|
39
|
+
.subexp .subexp-label tspan,
|
|
40
|
+
.charset .charset-label tspan,
|
|
41
|
+
.match-fragment .repeat-label tspan {
|
|
42
|
+
font-size: 10px; }
|
|
43
|
+
|
|
44
|
+
.repeat-label {
|
|
45
|
+
cursor: help; }
|
|
46
|
+
|
|
47
|
+
.subexp .subexp-label tspan,
|
|
48
|
+
.charset .charset-label tspan {
|
|
49
|
+
dominant-baseline: text-after-edge; }
|
|
50
|
+
|
|
51
|
+
.subexp .subexp-box {
|
|
52
|
+
stroke: #908c83;
|
|
53
|
+
stroke-dasharray: 6,2;
|
|
54
|
+
stroke-width: 2px;
|
|
55
|
+
fill-opacity: 0; }
|
|
56
|
+
|
|
57
|
+
.quote {
|
|
58
|
+
fill: #908c83; }
|
|
59
|
+
</style>
|
|
60
|
+
</defs>
|
|
61
|
+
<metadata>
|
|
62
|
+
<rdf:rdf>
|
|
63
|
+
<cc:license rdf:about="http://creativecommons.org/licenses/by/3.0/">
|
|
64
|
+
<cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"></cc:permits>
|
|
65
|
+
<cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"></cc:permits>
|
|
66
|
+
<cc:requires rdf:resource="http://creativecommons.org/ns#Notice"></cc:requires>
|
|
67
|
+
<cc:requires rdf:resource="http://creativecommons.org/ns#Attribution"></cc:requires>
|
|
68
|
+
<cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"></cc:permits>
|
|
69
|
+
</cc:license>
|
|
70
|
+
</rdf:rdf>
|
|
71
|
+
</metadata>
|
|
72
|
+
<desc>Created with Snap</desc><g transform="matrix(1,0,0,1,15,10)" class="root"><g transform="matrix(1,0,0,1,10,0)" class="regexp match"><path d="M70.703125,87.25H90.7031M210.718725,87.25H240.7188M491.10158262939456,87.25H526.1015"></path><g transform="matrix(1,0,0,1,0,75.5)" class="match-fragment"><g class="label anchor"><rect width="70.703125" height="23.5"></rect><text x="0" y="0" transform="matrix(1,0,0,1,5,16.75)"><tspan>Start of line</tspan></text></g></g><g transform="matrix(1,0,0,1,80.7031,11.75)" class="match-fragment subexp"><rect rx="3" ry="3" class="subexp-box" transform="matrix(1,0,0,1,0,11)" width="140.015625" height="129"></rect><text x="0" y="0" transform="matrix(1,0,0,1,0,11)" class="subexp-label"><tspan>group #1</tspan></text><g transform="matrix(1,0,0,1,10,21)" class="regexp"><path d="M10,21.75q0,-10 10,-10M110.015625,21.75q0,-10 -10,-10M0,54.5c10,0 10,-14.25 20,-14.25M120.015625,54.5c-10,0 -10,-14.25 -20,-14.25M0,54.5c10,0 10,14.25 20,14.25M120.015625,54.5c-10,0 -10,14.25 -20,14.25M10,87.25q0,10 10,10M110.015625,87.25q0,10 -10,10M0,54.5q10,0 10,-10V21.75M120.015625,54.5q-10,0 -10,-10V21.75M0,54.5q10,0 10,10V87.25M120.015625,54.5q-10,0 -10,10V87.25"></path><g transform="matrix(1,0,0,1,20,0)" class="regexp-matches"><path d="M0,11.75h10.6602M69.3555125,11.75H80.015625M0,40.25h13.3281M66.687475,40.25H80.015625M0,68.75h14.0039M66.0117125,68.75H80.015625M0,97.25h0M80.015625,97.25H80.015625"></path><g transform="matrix(1,0,0,1,10.6602,0)" class="match match-fragment literal"><g class="label"><rect width="58.6953125" height="23.5" rx="3" ry="3"></rect><text x="0" y="0" transform="matrix(1,0,0,1,5,16.75)"><tspan class="quote">“</tspan><tspan>feature/</tspan><tspan class="quote">”</tspan></text></g></g><g transform="matrix(1,0,0,1,13.3281,28.5)" class="match match-fragment literal"><g class="label"><rect width="53.359375" height="23.5" rx="3" ry="3"></rect><text x="0" y="0" transform="matrix(1,0,0,1,5,16.75)"><tspan class="quote">“</tspan><tspan>bugfix/</tspan><tspan class="quote">”</tspan></text></g></g><g transform="matrix(1,0,0,1,14.0039,57)" class="match match-fragment literal"><g class="label"><rect width="52.0078125" height="23.5" rx="3" ry="3"></rect><text x="0" y="0" transform="matrix(1,0,0,1,5,16.75)"><tspan class="quote">“</tspan><tspan>revert/</tspan><tspan class="quote">”</tspan></text></g></g><g transform="matrix(1,0,0,1,0,85.5)" class="match match-fragment literal"><g class="label"><rect width="80.015625" height="23.5" rx="3" ry="3"></rect><text x="0" y="0" transform="matrix(1,0,0,1,5,16.75)"><tspan class="quote">“</tspan><tspan>cherry-pick/</tspan><tspan class="quote">”</tspan></text></g></g></g></g></g><g transform="matrix(1,0,0,1,230.7188,0)" class="match-fragment subexp"><rect rx="3" ry="3" class="subexp-box" transform="matrix(1,0,0,1,0,11)" width="285.3827819824219" height="141.5"></rect><text x="0" y="0" transform="matrix(1,0,0,1,0,11)" class="subexp-label"><tspan>group #2</tspan></text><g transform="matrix(1,0,0,1,10,21)" class="regexp match"><path d="M152.0234375,66.25H177.0234"></path><g transform="matrix(1,0,0,1,0,54.5)" class="match-fragment literal"><g class="label"><rect width="152.0234375" height="23.5" rx="3" ry="3"></rect><text x="0" y="0" transform="matrix(1,0,0,1,5,16.75)"><tspan class="quote">“</tspan><tspan>issue-name-or-summary-</tspan><tspan class="quote">”</tspan></text></g></g><g transform="matrix(1,0,0,1,162.0234,0)" class="match-fragment"><path d="M0,66.25q10,0 10,-10v-46.25q0,-10 10,-10h63.35938262939453q10,0 10,10v46.25q0,10 10,10M15,66.25q-10,0 -10,10v35.25q0,10 10,10h73.35938262939453q10,0 10,-10v-35.25q0,-10 -10,-10M98.35938262939453,81.25l5,-5m-5,5l-5,-5"></path><g transform="matrix(1,0,0,1,15,10)" class="charset"><rect rx="3" ry="3" class="charset-box" transform="matrix(1,0,0,1,0,11)" width="73.3593864440918" height="90.5"></rect><text x="0" y="0" transform="matrix(1,0,0,1,0,11)" class="charset-label"><tspan>One of:</tspan></text><g transform="matrix(1,0,0,1,5,16)"><g transform="matrix(1,0,0,1,0.3398,0)" class="charset-range"><text x="0" y="0" transform="matrix(1,0,0,1,29.6797,16)">-</text><g transform="matrix(1,0,0,1,0,0)" class="literal"><g class="label"><rect width="24.6796875" height="23.5" rx="3" ry="3"></rect><text x="0" y="0" transform="matrix(1,0,0,1,5,16.75)"><tspan class="quote">“</tspan><tspan>a</tspan><tspan class="quote">”</tspan></text></g></g><g transform="matrix(1,0,0,1,38.6797,0)" class="literal"><g class="label"><rect width="24" height="23.5" rx="3" ry="3"></rect><text x="0" y="0" transform="matrix(1,0,0,1,5,16.75)"><tspan class="quote">“</tspan><tspan>z</tspan><tspan class="quote">”</tspan></text></g></g></g><g transform="matrix(1,0,0,1,0,28.5)" class="charset-range"><text x="0" y="0" transform="matrix(1,0,0,1,29.6797,16)">-</text><g transform="matrix(1,0,0,1,0,0)" class="literal"><g class="label"><rect width="24.6796875" height="23.5" rx="3" ry="3"></rect><text x="0" y="0" transform="matrix(1,0,0,1,5,16.75)"><tspan class="quote">“</tspan><tspan>0</tspan><tspan class="quote">”</tspan></text></g></g><g transform="matrix(1,0,0,1,38.6797,0)" class="literal"><g class="label"><rect width="24.6796875" height="23.5" rx="3" ry="3"></rect><text x="0" y="0" transform="matrix(1,0,0,1,5,16.75)"><tspan class="quote">“</tspan><tspan>9</tspan><tspan class="quote">”</tspan></text></g></g></g><g transform="matrix(1,0,0,1,20.6797,57)" class="literal"><g class="label"><rect width="22" height="23.5" rx="3" ry="3"></rect><text x="0" y="0" transform="matrix(1,0,0,1,5,16.75)"><tspan class="quote">“</tspan><tspan>-</tspan><tspan class="quote">”</tspan></text></g></g></g></g></g></g></g><g transform="matrix(1,0,0,1,526.1015,75.5)" class="match-fragment"><g class="label anchor"><rect width="66.7109375" height="23.5"></rect><text x="0" y="0" transform="matrix(1,0,0,1,5,16.75)"><tspan>End of line</tspan></text></g></g></g><path d="M10,87.25H0M602.8124375,87.25H612.8124389648438"></path><circle cx="0" cy="87.25" r="5"></circle><circle cx="612.8124389648438" cy="87.25" r="5"></circle></g></svg>
|
|
73
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 2
|
|
3
|
+
---
|
|
4
|
+
import TBD from '@site/src/components/TBD';
|
|
5
|
+
|
|
6
|
+
# SharePoint
|
|
7
|
+
1. <TBD/> URLリンク
|
|
8
|
+
|
|
9
|
+
## フォルダー構成 {#foler-configuration}
|
|
10
|
+
1. <TBD/> ここにフォルダー構成と簡単な説明を書く
|
|
11
|
+
|
|
12
|
+
## 設定 {#config}
|
|
13
|
+
### 読み取り専用で保存する
|
|
14
|
+
1. SharePoint上のファイルは開くだけで編集され、履歴に残ってしまうことがあるため、ファイル自体を読み取り専用の設定をしておく
|
|
15
|
+
1.
|
|
16
|
+
|
|
17
|
+
### 編集はクライアントアプリケーションで行う {#how-to-edit-in-client-application}
|
|
18
|
+
1. デフォルトでデスクトップアプリケーションで開く
|
|
19
|
+
1. 手順
|
|
20
|
+
1. 画面右上の「設定」(歯車アイコン)をクリックする
|
|
21
|
+
1. リンク「ライブラリの設定」をクリックする
|
|
22
|
+
1. セクション「設定」の「詳細設定」をクリックする
|
|
23
|
+
1. 「ブラウザー対応ドキュメントを表示する規定の方法」で「クライアント アプリケーションで開く」をクリックして選択する
|
|
24
|
+
1. 一番下までのスクロールして「OK」をクリックする
|
|
25
|
+
|
|
26
|
+
## より厳密に管理したい場合
|
|
27
|
+
1. チェックアウトとチェックイン機能をオンにする
|
|
28
|
+
1. 詳細は<TBD/>
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
"typecheck": "tsc"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@docusaurus/core": "^3.9.2",
|
|
19
|
+
"@docusaurus/preset-classic": "^3.9.2"{{#hasMermaid}},
|
|
20
|
+
"@docusaurus/theme-mermaid": "^3.9.2"{{/hasMermaid}},
|
|
21
|
+
"@easyops-cn/docusaurus-search-local": "^0.52.2",
|
|
22
|
+
"@mdx-js/react": "^3.0.0",
|
|
23
|
+
"clsx": "^2.0.0"{{#hasPlantUML}},
|
|
24
|
+
"docusaurus-theme-plantuml": "^1.0.2"{{/hasPlantUML}},
|
|
25
|
+
"prism-react-renderer": "^2.4.1",
|
|
26
|
+
"react": "^19.0.0",
|
|
27
|
+
"react-dom": "^19.0.0"{{#hasRedoc}},
|
|
28
|
+
"redocusaurus": "^2.5.0"{{/hasRedoc}}
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@docusaurus/module-type-aliases": "^3.9.2",
|
|
32
|
+
"@docusaurus/tsconfig": "3.9.2",
|
|
33
|
+
"@docusaurus/types": "^3.9.2",
|
|
34
|
+
"@types/node": "^24.2.1",
|
|
35
|
+
"@types/react": "^19.0.0",
|
|
36
|
+
"@types/react-dom": "^19.0.0",
|
|
37
|
+
"typescript": "~5.9.2"
|
|
38
|
+
},
|
|
39
|
+
"browserslist": {
|
|
40
|
+
"production": [">0.5%", "not dead", "not op_mini all"],
|
|
41
|
+
"development": ["last 3 chrome version", "last 3 firefox version", "last 5 safari version"]
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=22.0"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Module Text highlighting. Color designation is possible.
|
|
3
|
+
* @module Highlight
|
|
4
|
+
* @example
|
|
5
|
+
* import { Highlight } from '@site/src/components/Highlight';
|
|
6
|
+
* <Highlight color='#25C2A0'>Green</Highlight>
|
|
7
|
+
* <Highlight color='#1877F2'>Blue</Highlight>
|
|
8
|
+
* <TBD/>
|
|
9
|
+
*/
|
|
10
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
11
|
+
|
|
12
|
+
type HighlightProps = {
|
|
13
|
+
/** 強調したい文字列(子要素) */
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
/** 背景色(16進数表記 #RRGGBB か #RGB) */
|
|
16
|
+
color: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Highlight tag.
|
|
21
|
+
* @param {{chidren: string, color: string}}
|
|
22
|
+
* @returns {JSX.Element}
|
|
23
|
+
*/
|
|
24
|
+
export function Highlight({ children, color }: HighlightProps): ReactElement {
|
|
25
|
+
return (
|
|
26
|
+
<span
|
|
27
|
+
style={{
|
|
28
|
+
backgroundColor: color,
|
|
29
|
+
borderRadius: '0.5rem',
|
|
30
|
+
color: blackOrWhite(color),
|
|
31
|
+
padding: '0.2rem',
|
|
32
|
+
}}
|
|
33
|
+
>
|
|
34
|
+
{children}
|
|
35
|
+
</span>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link https://www.w3.org/TR/AERT/#color-contract}
|
|
41
|
+
* @param hex - example. '11AAFF' or '1AF'
|
|
42
|
+
*/
|
|
43
|
+
function blackOrWhite(hex: string): '#FFF' | '#000' {
|
|
44
|
+
const [r, g, b] = hex2rgb(hex);
|
|
45
|
+
return (r * 299 + g * 587 + b * 114) / 1000 < 120 ? '#FFF' : '#000';
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @param hexVal - example. '11AAFF' or '1AF'
|
|
50
|
+
*/
|
|
51
|
+
function hex2rgb(hexVal: string): [number, number, number] {
|
|
52
|
+
let hex = hexVal.startsWith('#') ? hexVal.slice(1) : hexVal;
|
|
53
|
+
|
|
54
|
+
if (![3, 6].includes(hex.length)) {
|
|
55
|
+
throw new Error(`Invalid hex string: digit must be 3 or 6. hex=${hexVal}`);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if (hex.length === 3) hex = hex.replace(/(.)/g, '$1$1');
|
|
59
|
+
if (!/^[0-9A-Fa-f]{6}$/.test(hex)) {
|
|
60
|
+
throw new Error(`Invalid hex string. not hex number. hex=${hex}`);
|
|
61
|
+
}
|
|
62
|
+
const rgb = hex.match(/../g);
|
|
63
|
+
if (!rgb) {
|
|
64
|
+
throw new Error(`Invalid hex string. unknown. hex=${hex}`);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return [Number.parseInt(rgb[0], 16), Number.parseInt(rgb[1], 16), Number.parseInt(rgb[2], 16)];
|
|
68
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { PriorityScale } from '@site/src/types/requirements';
|
|
2
|
+
/**
|
|
3
|
+
* Priority Matrix Component.
|
|
4
|
+
* @module PriorityMatrix
|
|
5
|
+
* @example
|
|
6
|
+
* import { PriorityMatrix } from '@site/src/components/PriorityMatrix';
|
|
7
|
+
* <PriorityMatrix urgency={frontMatter.urgency} importance={frontMatter.importance} />
|
|
8
|
+
*/
|
|
9
|
+
import type { ReactElement } from 'react';
|
|
10
|
+
|
|
11
|
+
interface PriorityMatrixProps {
|
|
12
|
+
importance: PriorityScale;
|
|
13
|
+
urgency: PriorityScale;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const getBackgroundColor = (value: number, selectedValue: number): string => {
|
|
17
|
+
if (value === selectedValue) return '#007bff';
|
|
18
|
+
if (value >= 7) return 'rgba(220, 53, 69, 0.2)';
|
|
19
|
+
if (value >= 4) return 'rgba(255, 193, 7, 0.2)';
|
|
20
|
+
return 'rgba(40, 167, 69, 0.2)';
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export function PriorityMatrix({ importance, urgency }: PriorityMatrixProps): ReactElement {
|
|
24
|
+
return (
|
|
25
|
+
<div
|
|
26
|
+
style={{
|
|
27
|
+
marginTop: '1rem',
|
|
28
|
+
color: 'var(--ifm-color-content)',
|
|
29
|
+
}}
|
|
30
|
+
>
|
|
31
|
+
<div
|
|
32
|
+
style={{
|
|
33
|
+
display: 'grid',
|
|
34
|
+
gridTemplateColumns: '80px repeat(9, 40px)',
|
|
35
|
+
gap: '4px',
|
|
36
|
+
fontSize: '0.875rem',
|
|
37
|
+
}}
|
|
38
|
+
>
|
|
39
|
+
{/* 緊急度の行 */}
|
|
40
|
+
<div
|
|
41
|
+
style={{
|
|
42
|
+
display: 'flex',
|
|
43
|
+
alignItems: 'center',
|
|
44
|
+
justifyContent: 'center',
|
|
45
|
+
padding: '4px',
|
|
46
|
+
}}
|
|
47
|
+
>
|
|
48
|
+
緊急度
|
|
49
|
+
</div>
|
|
50
|
+
{[1, 2, 3, 4, 5, 6, 7, 8, 9].map((num) => (
|
|
51
|
+
<div
|
|
52
|
+
key={`urgency-${num}`}
|
|
53
|
+
style={{
|
|
54
|
+
display: 'flex',
|
|
55
|
+
alignItems: 'center',
|
|
56
|
+
justifyContent: 'center',
|
|
57
|
+
padding: '8px 4px',
|
|
58
|
+
backgroundColor: getBackgroundColor(num, urgency),
|
|
59
|
+
borderRadius: '4px',
|
|
60
|
+
color: num === urgency ? '#ffffff' : 'var(--ifm-color-content)',
|
|
61
|
+
}}
|
|
62
|
+
>
|
|
63
|
+
{num}
|
|
64
|
+
</div>
|
|
65
|
+
))}
|
|
66
|
+
|
|
67
|
+
{/* 重要度の行 */}
|
|
68
|
+
<div
|
|
69
|
+
style={{
|
|
70
|
+
display: 'flex',
|
|
71
|
+
alignItems: 'center',
|
|
72
|
+
justifyContent: 'center',
|
|
73
|
+
padding: '4px',
|
|
74
|
+
}}
|
|
75
|
+
>
|
|
76
|
+
重要度
|
|
77
|
+
</div>
|
|
78
|
+
{[1, 2, 3, 4, 5, 6, 7, 8, 9].map((num) => (
|
|
79
|
+
<div
|
|
80
|
+
key={`importance-${num}`}
|
|
81
|
+
style={{
|
|
82
|
+
display: 'flex',
|
|
83
|
+
alignItems: 'center',
|
|
84
|
+
justifyContent: 'center',
|
|
85
|
+
padding: '8px 4px',
|
|
86
|
+
backgroundColor: getBackgroundColor(num, importance),
|
|
87
|
+
borderRadius: '4px',
|
|
88
|
+
color: num === importance ? '#ffffff' : 'var(--ifm-color-content)',
|
|
89
|
+
}}
|
|
90
|
+
>
|
|
91
|
+
{num}
|
|
92
|
+
</div>
|
|
93
|
+
))}
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
);
|
|
97
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Module TBD Label.
|
|
3
|
+
* @module TBD
|
|
4
|
+
* @example
|
|
5
|
+
* import TBD from '@site/src/components/TBD';
|
|
6
|
+
* <TBD/>
|
|
7
|
+
*/
|
|
8
|
+
import type { ReactNode } from 'react';
|
|
9
|
+
import { Highlight } from '../Highlight/index';
|
|
10
|
+
|
|
11
|
+
export function TBD(): ReactNode {
|
|
12
|
+
return <Highlight color="#1877F2">TBD</Highlight>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// デフォルトエクスポートも提供
|
|
16
|
+
export default TBD;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Any CSS included here will be global. The classic template
|
|
3
|
+
* bundles Infima by default. Infima is a CSS framework designed to
|
|
4
|
+
* work well for content-centric websites.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* You can override the default Infima variables here. */
|
|
8
|
+
:root {
|
|
9
|
+
--ifm-color-primary: #2e8555;
|
|
10
|
+
--ifm-color-primary-dark: #29784c;
|
|
11
|
+
--ifm-color-primary-darker: #277148;
|
|
12
|
+
--ifm-color-primary-darkest: #205d3b;
|
|
13
|
+
--ifm-color-primary-light: #33925d;
|
|
14
|
+
--ifm-color-primary-lighter: #359962;
|
|
15
|
+
--ifm-color-primary-lightest: #3cad6e;
|
|
16
|
+
--ifm-code-font-size: 95%;
|
|
17
|
+
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* For readability concerns, you should choose a lighter palette in dark mode. */
|
|
21
|
+
[data-theme='dark'] {
|
|
22
|
+
--ifm-color-primary: #25c2a0;
|
|
23
|
+
--ifm-color-primary-dark: #21af90;
|
|
24
|
+
--ifm-color-primary-darker: #1fa588;
|
|
25
|
+
--ifm-color-primary-darkest: #1a8870;
|
|
26
|
+
--ifm-color-primary-light: #29d5b0;
|
|
27
|
+
--ifm-color-primary-lighter: #32d8b4;
|
|
28
|
+
--ifm-color-primary-lightest: #4fddbf;
|
|
29
|
+
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
|
|
30
|
+
}
|
|
31
|
+
.docusaurus-highlight-code-line {
|
|
32
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
33
|
+
display: block;
|
|
34
|
+
margin: 0 calc(-1 * var(--ifm-pre-padding));
|
|
35
|
+
padding: 0 var(--ifm-pre-padding);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
[data-theme='dark'] .docusaurus-highlight-code-line {
|
|
39
|
+
background-color: rgba(0, 0, 0, 0.3);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Chapter number */
|
|
43
|
+
main div.container article div.theme-doc-markdown {
|
|
44
|
+
counter-reset: ch-lv1;
|
|
45
|
+
}
|
|
46
|
+
main div.container article div.theme-doc-markdown > h2 {
|
|
47
|
+
counter-reset: ch-lv2;
|
|
48
|
+
}
|
|
49
|
+
main div.container article div.theme-doc-markdown > h3 {
|
|
50
|
+
counter-reset: ch-lv3;
|
|
51
|
+
}
|
|
52
|
+
main div.container article div.theme-doc-markdown > h4 {
|
|
53
|
+
counter-reset: ch-lv4;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
main div.container article div.theme-doc-markdown > h2::before {
|
|
57
|
+
counter-increment: ch-lv1;
|
|
58
|
+
content: counter(ch-lv1) '. ';
|
|
59
|
+
}
|
|
60
|
+
main div.container article div.theme-doc-markdown > h3::before {
|
|
61
|
+
counter-increment: ch-lv2;
|
|
62
|
+
content: counter(ch-lv1) '.' counter(ch-lv2) '. ';
|
|
63
|
+
}
|
|
64
|
+
main div.container article div.theme-doc-markdown > h4::before {
|
|
65
|
+
counter-increment: ch-lv3;
|
|
66
|
+
content: counter(ch-lv1) '.' counter(ch-lv2) '.' counter(ch-lv3) '. ';
|
|
67
|
+
}
|
|
68
|
+
main div.container article div.theme-doc-markdown > h5::before {
|
|
69
|
+
counter-increment: ch-lv4;
|
|
70
|
+
content: counter(ch-lv1) '.' counter(ch-lv2) '.' counter(ch-lv3) '.' counter(ch-lv4) '. ';
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Table of contents number */
|
|
74
|
+
main div[class^='tableOfContents_'] ul {
|
|
75
|
+
counter-reset: toc-lv;
|
|
76
|
+
list-style: none;
|
|
77
|
+
}
|
|
78
|
+
main div[class^='tableOfContents_'] ul > li > a::before {
|
|
79
|
+
counter-increment: toc-lv;
|
|
80
|
+
content: counters(toc-lv, '.') '. ';
|
|
81
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requirements related type definitions
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Priority scale from 1 to 9
|
|
7
|
+
* 1-3: Low priority
|
|
8
|
+
* 4-6: Medium priority
|
|
9
|
+
* 7-9: High priority
|
|
10
|
+
*/
|
|
11
|
+
export type PriorityScale = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Requirement priority matrix
|
|
15
|
+
*/
|
|
16
|
+
export interface RequirementPriority {
|
|
17
|
+
importance: PriorityScale;
|
|
18
|
+
urgency: PriorityScale;
|
|
19
|
+
}
|