Skip to content

Commit e5f4470

Browse files
ca-dJakob Vogelsang
andauthored
feat(help): integrate user manual (#249)
* Initial Home page * Created DataTypeTemplate editor (markdown) * Updated DataTypeTemplate editor (markdown) * Updated DataTypeTemplate editor (markdown) * Updated DataTypeTemplate editor (markdown) * Updated DataTypeTemplate editor (markdown) * Created Guess substation structure (markdown) * Updated Guess substation structure (markdown) * Created Importing IEDs (markdown) * Created _Sidebar (markdown) * Destroyed _Sidebar (markdown) * Created Update GOOSE subscriber info in SCL (markdown) * Created _Sidebar (markdown) * Created Connect Report Control Blocks with ClientLN (markdown) * Updated Connect Report Control Blocks with ClientLN (markdown) * Updated Connect Report Control Blocks with ClientLN (markdown) * Created Merge functionality (markdown) * Created How to install OpenSCD offline (markdown) * Updated How to install OpenSCD offline (markdown) * Updated How to install OpenSCD offline (markdown) * Created Manage save project (markdown) * refactor: remove home screen trick * feat: add home page with table of content * fix: ass missing link in table of content * refactor: add finder-pane for tree nagivation * typo * Updated _Sidebar (markdown) * Add TOC * Restructure TOC * feat(help): add offline help browser Adds an offline wiki markdown explorer based on `finder-pane` in order to let the user find and browse to all help content. * fix(help): integrate about box in home page * refactor(package): mark maked types dev dep * style(help): display help cursor on wiki links * add editor features section * Created SCL Sections (markdown) * add substation page * add Communication page * Updated Communication (markdown) * rename datatypetemplate editor * add Communication page * Updated Home (markdown) * fix(help): fix intra wiki links * reorder sidebar links * fix typo * refactor(help): load manifest.json asynchronously * refactor(test): remove dead snapshots * test(help): remove tests until karma loads marked * test(finder-pane): update snapshot Co-authored-by: Jakob Vogelsang <[email protected]>
1 parent ef2db36 commit e5f4470

17 files changed

+128
-153
lines changed

__snapshots__/enum-type-editor.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

__snapshots__/enum-val-editor.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

__snapshots__/finder-pane.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#### `displays nothing with default properties`
44

55
```html
6-
<div>
6+
<div class="pane">
77
</div>
88

99
```
@@ -13,7 +13,7 @@
1313
#### `displays one list of children per path entry`
1414

1515
```html
16-
<div>
16+
<div class="pane">
1717
<section>
1818
<p>
1919
e2
@@ -95,7 +95,7 @@
9595
#### `appends a new column with the chosen entry's children`
9696

9797
```html
98-
<div>
98+
<div class="pane">
9999
<section>
100100
<p>
101101
e2
@@ -161,7 +161,7 @@
161161
#### `replaces all but the first column with a new column`
162162

163163
```html
164-
<div>
164+
<div class="pane">
165165
<section>
166166
<p>
167167
e2

package-lock.json

Lines changed: 9 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"carehtml": "^0.1.3",
4040
"lit-element": "2.4.0",
4141
"lit-html": "1.3.0",
42-
"lit-translate": "^1.2.1"
42+
"lit-translate": "^1.2.1",
43+
"marked": "^2.1.3"
4344
},
4445
"scripts": {
4546
"lint:eslint": "eslint --ext .ts,.html . --ignore-path .gitignore",
@@ -74,6 +75,7 @@
7475
"@open-wc/testing": "^2.5.33",
7576
"@open-wc/testing-karma": "^4.0.9",
7677
"@snowpack/plugin-typescript": "^1.2.1",
78+
"@types/marked": "^2.0.4",
7779
"@types/node": "^15.3.0",
7880
"@typescript-eslint/eslint-plugin": "^4.24.0",
7981
"@typescript-eslint/parser": "^4.24.0",

public/md/Communication.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
We don't have any help for editing the Communication section yet. If you also find that sad, any contributed documentation is most welcome at https://github.com/openscd/open-scd/wiki/Communication 😅

public/md/DataTypeTemplates.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Add a `CSWI` functionality logical node template (`LNodeType`) to an empty project
2+
3+
* click the DataTypeTemplate editor tab
4+
* click the "add LNodeType" button
5+
* choose "CSWI" from the "lnType" dropdown menu
6+
* choose possible values for your "ENS" behavior `Beh` enumeration (default all, i.e. `on`, `on-blocked`, `test`, `test-blocked`, `off`)
7+
> Enumerations may be assumed zero-indexed unless otherwise noted.
8+
9+
* choose data attributes for optional substitution services (`subEna`, `subVal`, `subQ`, `subID`, `blkEna`)
10+
* choose additional optional data attributes (default none of `d`, `dU`, `cdcName="ENS"`*) *fixed value if selected
11+
* choose possible values for your "ENC" mode `Mod` enumeration (default all, i.e. `on`, `on-blocked`, `test`, `test-blocked`, `off`)
12+
* choose possible values for your "ctlModel" enumeration (default all, i.e. `status-only`, `direct-with-normal-security`, `direct-with-enhanced-security`, `sbo-with-normal-security`, `sbo-with-enhanced-security`)
13+
* choose possible originator categories (default all, i.e. `not-supported`, `bay-control`, `station-control`, `remote-control`, `automatic-bay`, `automatic-station`, `automatic-remote`, `maintenance`, `process`)
14+
* choose data attributes for control services (`sboTimeout`, `sboClass`, `operTimeout`, `stSeld`, `ctlNum`)
15+
* choose data attributes for optional substitution services (`subEna`, `subVal`, `subQ`, `subID`, `blkEna`)
16+
* choose remaining optional data attributes (`opRcvd`, `opOk`, `tOpOk`, `d`, `dU`, `cdcName="ENC"`*) *fixed value if selected
17+
* choose optional data attributes for the "LPL" name plate (`paramRev`, `valRev`, `d`, `dU`, `configRev`, `cdcName="LPL"`*)
18+
* choose possible values for your "ENS" health `Health` enumeration (default all, i.e. 1. `ok`, 2. `warning`, 3. `alarm`)
19+
* choose data attributes for optional substitution services (`subEna`, `subVal`, `subQ`, `subID`, `blkEna`)
20+
* choose additional optional data attributes (default none of `d`, `dU`, `cdcName="ENS"`*) *fixed value if selected
21+
* add a "DPC" position `Pos` double point controllable
22+
* choose main data attributes (`ctlModel`, `origin`, `ctlNum`, `stSeld`, `opRcvd`, `opOk`, `tOpOk`, `sboTimeout`, `sboClass`, `operTimeout`, `pulseConfig`)
23+
* choose data attributes for optional substitution services (`subEna`, `subVal`, `subQ`, `subID`, `blkEna`)
24+
* choose additional optional data attributes (default none of `d`, `dU`, `cdcName="DPC"`*) *fixed value if selected

public/md/Home.md

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,3 @@
1-
This is the OpenSCD help. It could be a source for information on topics around IEC 61850-6. You are welcome to share your knowledge with the rest of the world.
1+
This is an open repository of information on OpenSCD and IEC 61850-6. You are welcome to share your knowledge with the rest of the world at https://github.com/openscd/open-scd/wiki/Home/_edit 😄 . Welcome aboard!
22

3-
# Table of Contents
4-
5-
## OpenSCD related Topics
6-
7-
- [How to install OpenSCD offline](https://github.com/openscd/open-scd/wiki/How-to-install-OpenSCD-offline)
8-
- [Manage save project](https://github.com/openscd/open-scd/wiki/Manage-save-project)
9-
10-
## OpenSCD and the IEC 61850-6
11-
12-
### Substation
13-
14-
- [Guess substation structure](https://github.com/openscd/open-scd/wiki/Guess-substation-structure)
15-
16-
### Communication
17-
18-
### IED section
19-
20-
- [Connect Report Control Blocks with ClientLN](https://github.com/openscd/open-scd/wiki/Connect-Report-Control-Blocks-with-ClientLN)
21-
- [Importing IEDs](https://github.com/openscd/open-scd/wiki/Importing-IEDs)
22-
- [Update GOOSE subscriber info in SCL](https://github.com/openscd/open-scd/wiki/Update-GOOSE-subscriber-info-in-SCL)
23-
24-
### DataTypeTemplates
25-
26-
- [DataTypeTemplate editor](https://github.com/openscd/open-scd/wiki/DataTypeTemplate-editor)
27-
28-
### Other goodies
29-
30-
- [Merge functionality](https://github.com/openscd/open-scd/wiki/Merge-functionality)
3+
So far we have documented some essential [general OpenSCD editor features](https://github.com/openscd/open-scd/wiki/OpenSCD-Editor-Features) and features regarding the individual [sections of an SCL file](https://github.com/openscd/open-scd/wiki/SCL-Sections) .

public/md/IED.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Here you may learn how to [Connect Report Control Blocks with ClientLN nodes](https://github.com/openscd/open-scd/wiki/Connect-Report-Control-Blocks-with-ClientLN), how to [Import IEDs](https://github.com/openscd/open-scd/wiki/Importing-IEDs) into a project, and how to [Update the GOOSE subscriber info in your SCL file](https://github.com/openscd/open-scd/wiki/Update-GOOSE-subscriber-info-in-SCL).
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Here you can find a help page describing how to [install OpenSCD offline](https://github.com/openscd/open-scd/wiki/How-to-install-OpenSCD-offline) and
2+
pages related to **Project Management** explaining how to [save an SCL file](https://github.com/openscd/open-scd/wiki/Manage-save-project) and [merge an SCL file](https://github.com/openscd/open-scd/wiki/Merge-functionality) into an already opened project.

0 commit comments

Comments
 (0)