spec-up-t 0.11.29 → 0.11.31

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/readme.md CHANGED
@@ -7,165 +7,6 @@
7
7
  <h2 style="display: block; margin: 0 auto; text-align: center;">Markdown » Spec-Up</h2>
8
8
  </div>
9
9
 
10
- ## Intro
10
+ There is a [special website that documents everything regarding Spec-Up-T](https://blockchainbird.github.io/spec-up-t-website/).
11
11
 
12
- Spec-Up is a technical specification development tool that enables you to create rich specification documents for standards bodies and engineering projects by writing in an extended version of markdown that features all the bells and whistles - for example: advanced syntax highlighting, notice blocks, complex tables, charts, UML diagrams, and more.
13
-
14
- Spec-Up-T is an expansion of [DIF's Spec-Up](https://github.com/decentralized-identity/spec-up) specifically for the needs of the Trust-over-IP foundation. Read more in the elaborate motivation in this technical article [Spec-Up-T, the ToIP Terms extension of Spec-Up](https://hackmd.io/s1TEBBluQBSL10ZT5yRVPw)
15
-
16
- ## Extension
17
-
18
- Spec-Up-T stays in sync with Spec-Up, and currently adds the following extra functionality:
19
- 1. Search & Find
20
- 2. Splitter for Terms and Definition section following the [Termininology Governance Guide](https://trustoverip.github.io/ctwg-terminology-governance-guide/) and various meeting report since [CTWG April 2024](https://wiki.trustoverip.org/display/HOME/2024-04-22+CTWG+Meeting+Notes).
21
-
22
- ## Setup
23
-
24
- Install Spec-Up-T as follows:
25
-
26
- - Open your terminal and go to the target directory
27
- - Run `npx create-spec-up-starterpack@latest`
28
- This will create a working Spec-Up-T installation in a new directory called `spec-up-t-starter-pack`
29
-
30
- - Rename this directory to your liking, for example `my-new-specification`
31
- - Go into this dir:
32
- `cd my-new-specification`
33
- You are now in this dir.
34
-
35
- - Install all dependencies:
36
- `npm run install`
37
-
38
- Now you have a basic Spec-Up-T install with the following content:
39
- - a `specs.json` file
40
- - a `spec/` directory with a sample markdown files
41
- - (and more)
42
-
43
- The`specs.json` file **in the root folder of your repository** specifies configuration values used in the generation of your spec documents. The values in your `specs.json` file include things like where your spec's markdown files are located, where to output the generated spec document, and various metadata values used in rendering, such as the title, logo, and repo links for each of your specs. The following are the required/optional fields supported in the `specs.json` config file:
44
-
45
- - **`public_root`** _(PATH STRING, optional)_ - For some platforms and services where you may want to output your rendered spec, the pathing may differ from the directory structure of your local project. To account for this, you can use the `public_root` property to specify the insertion of a path segment to account for the different in pathing between your local renders and wherever you publish your spec to.
46
- - **`specs`** _(ARRAY, required)_ - the `specs` array contains descriptor objects for each of the specs you are generating in your project, and are composed of the following required and optional properties:
47
- - **`spec_directory`** _(STRING, required)_ - You must specify the **repo-root-relative** location of your spec's markdown file directory. You ****MUST**** name your spec's markdown file `spec.md` and locate it in your `spec_directory` for the tool to automatically find and use it for rendering. If you want to use a different name for the markdown file, or you have multiple markdown files you would like the tool to assemble into one document, you must specify them using the optional`markdown_paths` field described below. See the "multi-file" example in the spec-up repo.
48
- - **`title`** _(STRING, required)_ - You must add a title for your spec, which will be rendered in the generated document's H1 text and page title.
49
- - **`logo`** _(PATH/URI STRING, optional)_ - You may add a reference to a logo asset, either via a path to the asset or a URI
50
- - **`logo_link`** _(URI STRING, optional)_ - The URI you want your logo to point to in the rendered page.
51
- - **`markdown_paths`** _(ARRAY, optional)_ - If you want to name your spec's markdown file something other than `spec.md`, or you have multiple files you would like assembled into a single output document, you must specify their paths as array entries in the order you would like them assembled. The paths in this array are assumed to be based on the `spec_directory` you specified, so _DO NOT_ repeat the full root relative path.
52
- - **`katex`** _(BOOLEAN, optional)_ - To enable TeX support via KaTeX, set this property to `true`. After rendering, be sure to copy the `fonts/` subdirectory, containing the necessary web fonts.
53
- - **`output_path`** _(STRING, optional)_ - If you want the generated spec document to be output to a different location than the `spec_directory` you specified (e.g. the project root for GitHub Pages publishing) you can specify another root relative path (use `./` for root), and the tool will write the document file there instead.
54
- - **`source`** _(OBJECT, optional)_ - this object allows you to configure where repo-specific data is pulled from to power some of the more advanced repo-related features. To do this, specify the code hosting service by adding a service ID string to `host` (currently Spec-Up only supports `"github"`, but this is extensible), add the account/org the repo is located within via the `account` property, and add the repo name under the `repo` property. Here is an example configuration:
55
-
56
- ```
57
- {
58
- "host": "github",
59
- "account": "decentralized-identity",
60
- "repo": "sidetree"
61
- }
62
- ```
63
-
64
- You're ready to start rendering specs as HTML sites locally and/or pushing them to github pages however you see fit to automate.
65
-
66
- ## Running the scripts locally
67
-
68
- If your `spec.json` and `package.json` and `package-lock.json` files are in working order and in the root folder of the repo from which it will be deployed, Spec-up can be called by command line (from the root of your repo) in three different modes:
69
-
70
- |command|behavior|
71
- |---|---|
72
- |`npm run edit`|after rendering, this will stay running and the `gulp` library will watch the source files in your spec directory/ies for changes and re-render any time you save a file. Opening these rendered files in a browser and refreshing them will keep you up to date.|
73
- |`npm run render`|this renders the site once and does not keep a gulpy watch on the underlying files.|
74
- |`npm run dev`|this enables debugging features.|
75
-
76
- ## Automation
77
-
78
- The above scripts can easily be triggered by github actions. See [this repo's example](https://github.com/decentralized-identity/spec-up/blob/master/.github/workflows/render-specs.yml)
79
-
80
- ## Versioning
81
-
82
- The recommended method for hosting multiple historical versions of a given specification at the same URL is simply to duplicate the source file(s) in a subdirectory and to host each version in a fixed subdirectory of the output target (i.e., the GitHub-Pages site). These multiple set-up and output directories can be set by multiple `spec` objects in the `specs` array of the `spec.json` file. For example:
83
-
84
- ```json
85
- {
86
- "specs": [
87
- {
88
- "title": "Wallet And Credential Interactions",
89
- "spec_directory": "./",
90
- "output_path": "./build",
91
- "logo": "https://rawcdn.githack.com/decentralized-identity/decentralized-identity.github.io/a3ca39717e440302d1fd99a796e7f00e1c42eb2d/images/logo-flat.svg",
92
- "logo_link": "https://identity.foundation",
93
- "source": {
94
- "host": "github",
95
- "account": "decentralized-identity",
96
- "repo": "waci-presentation-exchange"
97
- }
98
- },
99
- {
100
- "title": "Wallet And Credential Interactions",
101
- "spec_directory": "./v0.1.0",
102
- "output_path": "./build/v0.1.0",
103
- "logo": "https://rawcdn.githack.com/decentralized-identity/decentralized-identity.github.io/a3ca39717e440302d1fd99a796e7f00e1c42eb2d/images/logo-flat.svg",
104
- "logo_link": "https://identity.foundation",
105
- "source": {
106
- "host": "github",
107
- "account": "decentralized-identity",
108
- "repo": "waci-presentation-exchange"
109
- }
110
- }
111
- ]
112
- }
113
- ```
114
- *Note: when copying a version into a subdirectory, relative references, including image links or [[include]] blocks that copy in example files or test vectors, may break; a quick CTRL-F "../" is recommended*
115
-
116
- In the above example, the files in `./v0.1.0` will not be rendered by the build process that searches "./" for markdown files and vice versa-- changing either will not trigger a new build of the other in each PR.
117
-
118
- ### Version numbering
119
-
120
- DIF Recommends 3-decimal versions à la SemVer (i.e., v0.1.0 instead of v0.1).
121
-
122
- ### Cross-linking across versions
123
-
124
- Links from the currently/nightly/unstable spec to stable/archival versions and vice versa are not automatically generated by the current version of spec-up, so the recommended best practice is to manually add links above the "Editors" section. See:
125
-
126
- <details><summary>Examples from Presentation Exchange</summary>
127
-
128
- Unstable version:
129
- ```
130
- Presentation Exchange 2.0.0
131
- ==================
132
-
133
- **Specification Status:** Working Group Draft
134
-
135
- **Latest Draft:**
136
- [identity.foundation/presentation-exchange](https://identity.foundation/presentation-exchange)
137
-
138
- **Ratified Versions:**
139
- ~ **v1.0.0** - [https://identity.foundation/presentation-exchange/spec/v1.0.0](https://identity.foundation/presentation-exchange/spec/v1.0.0)
140
-
141
- ```
142
-
143
- Stable Version:
144
- ```
145
- Presentation Exchange v1.0.0
146
- ==================
147
-
148
- **Specification Status:** DIF Ratified Specification
149
-
150
- **Latest Draft:**
151
- [identity.foundation/presentation-exchange](https://identity.foundation/presentation-exchange)
152
- ```
153
- </details>
154
-
155
- ### Archiving stable versions beyond github
156
-
157
- Additionally, some editors may prefer to keep an immutable archive in a system like web.archive.org. For example:
158
-
159
- ```
160
- **Specification Status:** Draft V0.1 (snapshotted and archived on [web.archive.org](https://web.archive.org/web/20211206215823/https://identity.foundation/waci-presentation-exchange/))
161
- ```
162
-
163
- ## Troubleshooting
164
-
165
- - WSL2 users are recommended to use the `bash` option rather than `PowerShell` in the terminal of Visual Studio Code.
166
- - Some users have reported problems using spec-up with node versions 15+; to pin to an older version, simple run:
167
- ```
168
- nvm install 14
169
- nvm use 14
170
- npm i npm@6.14.16 -g
171
- ```
12
+ Important: the files in `/spec` are identical to those in https://github.com/blockchainbird/spec-up-t-starter-pack/tree/main/spec-up-t-starterpack/spec. If one of the copies is modified, it must be copied over to the other copy. Also make sure the `"markdown_paths"` in `specs.json` are still correct.
@@ -0,0 +1,384 @@
1
+ ## Demo of example markup in Spec-Up-T and Markdown
2
+
3
+ ### Blockquote
4
+
5
+ > To be, or not to be, that is the question:
6
+ Whether 'tis nobler in the mind to suffer
7
+ The slings and arrows of outrageous fortune,
8
+ Or to take arms against a sea of troubles
9
+ And by opposing end them. To die—to sleep,
10
+ No more;
11
+
12
+ ### Notices
13
+
14
+ <pre>
15
+ ::: note Basic Note
16
+ Check this out.
17
+ :::
18
+ </pre>
19
+
20
+ ::: note Basic Note
21
+ Check this out.
22
+ :::
23
+
24
+ ::: note
25
+ Here's another.
26
+ :::
27
+
28
+ ::: note
29
+ And one more!
30
+ :::
31
+
32
+ ::: note Basic Note
33
+ One last note!!!
34
+ :::
35
+
36
+ <pre>
37
+ ::: issue Issue Notice
38
+ I take issue with that, kind sir.
39
+ :::
40
+ </pre>
41
+
42
+ ::: issue Issue Notice
43
+ I take issue with that, kind sir.
44
+ :::
45
+
46
+ <pre>
47
+ ::: warning Warning Notice
48
+ Houston, I think we have a problem
49
+ :::
50
+ </pre>
51
+
52
+ ::: warning Warning Notice
53
+ Houston, I think we have a problem
54
+ :::
55
+
56
+ <pre>
57
+ ::: todo Really Important
58
+ Get this done!
59
+ :::
60
+ </pre>
61
+
62
+ ::: todo Really Important
63
+ Get this done!
64
+ :::
65
+
66
+ <pre>
67
+ ::: example Code Example
68
+ Put your code block here
69
+ :::
70
+ </pre>
71
+
72
+ ::: example Code Example
73
+
74
+ ```json
75
+ // Some comment in JSON
76
+ {
77
+ "foo": "bar",
78
+ "baz": 2
79
+ }
80
+ ```
81
+
82
+ :::
83
+
84
+ ### Content Insertion
85
+
86
+ Use the following format to pull in content from other files in your project:
87
+
88
+ <pre>
89
+ This text has been inserted here from another file: &#91;&#91;insert: assets/test.text&#93;&#93;
90
+ </pre>
91
+
92
+ This text has been inserted here from another file: [[insert: assets/test.text]]
93
+
94
+ You can even insert content within more complex blocks, like the JSON object below which is being pulled in and rendered in a syntax-highlighted example block:
95
+ <pre>
96
+ ::: example Code Example
97
+ ```json
98
+ &#91;&#91;insert: assets/test.json&#93;&#93;
99
+ ```
100
+ :::
101
+ </pre>
102
+
103
+ ::: example Code Example
104
+
105
+ ```json
106
+ [[insert: assets/test.json]]
107
+ ```
108
+
109
+ :::
110
+
111
+ ### Tables
112
+
113
+ <pre>
114
+ Stage | Direct Products | ATP Yields
115
+ ----: | --------------: | ---------:
116
+ Glycolysis | 2 ATP ||
117
+ ^^ | 2 NADH | 3--5 ATP |
118
+ Pyruvaye oxidation | 2 NADH | 5 ATP |
119
+ Citric acid cycle | 2 ATP ||
120
+ ^^ | 6 NADH | 15 ATP |
121
+ ^^ | 2 FADH2 | 3 ATP |
122
+ **30--32** ATP |||
123
+ [Net ATP yields per hexose]
124
+ </pre>
125
+
126
+ Stage | Direct Products | ATP Yields
127
+ ----: | --------------: | ---------:
128
+ Glycolysis | 2 ATP ||
129
+ ^^ | 2 NADH | 3--5 ATP |
130
+ Pyruvaye oxidation | 2 NADH | 5 ATP |
131
+ Citric acid cycle | 2 ATP ||
132
+ ^^ | 6 NADH | 15 ATP |
133
+ ^^ | 2 FADH2 | 3 ATP |
134
+ **30--32** ATP |||
135
+ [Net ATP yields per hexose]
136
+
137
+ <pre>
138
+ |--|--|--|--|--|--|--|--|
139
+ |♜| |♝|♛|♚|♝|♞|♜|
140
+ | |♟|♟|♟| |♟|♟|♟|
141
+ |♟| |♞| | | | | |
142
+ | |♗| | |♟| | | |
143
+ | | | | |♙| | | |
144
+ | | | | | |♘| | |
145
+ |♙|♙|♙|♙| |♙|♙|♙|
146
+ |♖|♘|♗|♕|♔| | |♖|
147
+ </pre>
148
+
149
+ |--|--|--|--|--|--|--|--|
150
+ |♜| |♝|♛|♚|♝|♞|♜ |
151
+ | |♟|♟|♟| |♟|♟|♟ |
152
+ |♟| |♞| | | | | |
153
+ | |♗| | |♟| | | |
154
+ | | | | |♙| | | |
155
+ | | | | | |♘| | |
156
+ |♙|♙|♙|♙| |♙|♙|♙ |
157
+ |♖|♘|♗|♕|♔| | |♖ |
158
+
159
+ ### Sequence Diagrams
160
+
161
+ <pre>
162
+ ```mermaid
163
+ sequenceDiagram
164
+ Alice ->> Bob: Hello Bob, how are you?
165
+ Bob-->>John: How about you John?
166
+ Bob--x Alice: I am good thanks!
167
+ Bob-x John: I am good thanks!
168
+ Note right of John: Bob thinks a long<br/>long time, so long<br/>that the text does<br/>not fit on a row.
169
+
170
+ Bob-->Alice: Checking with John...
171
+ Alice->John: Yes... John, how are you?
172
+ ```
173
+ </pre>
174
+
175
+ ```mermaid
176
+ sequenceDiagram
177
+ Alice ->> Bob: Hello Bob, how are you?
178
+ Bob-->>John: How about you John?
179
+ Bob--x Alice: I am good thanks!
180
+ Bob-x John: I am good thanks!
181
+ Note right of John: Bob thinks a long<br/>long time, so long<br/>that the text does<br/>not fit on a row.
182
+
183
+ Bob-->Alice: Checking with John...
184
+ Alice->John: Yes... John, how are you?
185
+ ```
186
+
187
+ ### Flows
188
+
189
+ <pre>
190
+ ```mermaid
191
+ graph TD
192
+ A[Start] --> B{Is it?}
193
+ B -->|Yes| C[OK]
194
+ C --> D[Rethink]
195
+ D --> B
196
+ B -->|No| E[End]
197
+ ```
198
+ </pre>
199
+
200
+ ```mermaid
201
+ graph TD
202
+ A[Start] --> B{Is it?}
203
+ B -->|Yes| C[OK]
204
+ C --> D[Rethink]
205
+ D --> B
206
+ B -->|No| E[End]
207
+ ```
208
+
209
+ ### Charts
210
+
211
+ <pre>
212
+ ```chart
213
+ {
214
+ "type": "pie",
215
+ "data": {
216
+ "labels": [
217
+ "Red",
218
+ "Blue",
219
+ "Yellow"
220
+ ],
221
+ "datasets": [
222
+ {
223
+ "data": [
224
+ 300,
225
+ 50,
226
+ 100
227
+ ],
228
+ "backgroundColor": [
229
+ "#FF6384",
230
+ "#36A2EB",
231
+ "#FFCE56"
232
+ ],
233
+ "hoverBackgroundColor": [
234
+ "#FF6384",
235
+ "#36A2EB",
236
+ "#FFCE56"
237
+ ]
238
+ }
239
+ ]
240
+ }
241
+ }
242
+ ```
243
+ </pre>
244
+
245
+ ```chart
246
+ {
247
+ "type": "pie",
248
+ "data": {
249
+ "labels": [
250
+ "Red",
251
+ "Blue",
252
+ "Yellow"
253
+ ],
254
+ "datasets": [
255
+ {
256
+ "data": [
257
+ 300,
258
+ 50,
259
+ 100
260
+ ],
261
+ "backgroundColor": [
262
+ "#FF6384",
263
+ "#36A2EB",
264
+ "#FFCE56"
265
+ ],
266
+ "hoverBackgroundColor": [
267
+ "#FF6384",
268
+ "#36A2EB",
269
+ "#FFCE56"
270
+ ]
271
+ }
272
+ ]
273
+ }
274
+ }
275
+ ```
276
+
277
+ ### Syntax Highlighting
278
+
279
+ <pre>
280
+ ```json
281
+ {
282
+ "@context": "https://www.w3.org/ns/did/v1",
283
+ "id": "did:example:123456789abcdefghi",
284
+ "authentication": [{
285
+ "id": "did:example:123456789abcdefghi#keys-1",
286
+ "type": "RsaVerificationKey2018",
287
+ "controller": "did:example:123456789abcdefghi",
288
+ "publicKeyPem": "-----BEGIN PUBLIC KEY...END PUBLIC KEY-----\r\n"
289
+ }],
290
+ "service": [{
291
+ "id":"did:example:123456789abcdefghi#vcs",
292
+ "type": "VerifiableCredentialService",
293
+ "serviceEndpoint": "https://example.com/vc/"
294
+ }]
295
+ }
296
+ ```
297
+ </pre>
298
+
299
+ ```json
300
+ {
301
+ "@context": "https://www.w3.org/ns/did/v1",
302
+ "id": "did:example:123456789abcdefghi",
303
+ "authentication": [{
304
+ "id": "did:example:123456789abcdefghi#keys-1",
305
+ "type": "RsaVerificationKey2018",
306
+ "controller": "did:example:123456789abcdefghi",
307
+ "publicKeyPem": "-----BEGIN PUBLIC KEY...END PUBLIC KEY-----\r\n"
308
+ }],
309
+ "service": [{
310
+ "id":"did:example:123456789abcdefghi#vcs",
311
+ "type": "VerifiableCredentialService",
312
+ "serviceEndpoint": "https://example.com/vc/"
313
+ }]
314
+ }
315
+ ```
316
+
317
+ ### TeX Math Equations
318
+
319
+ When the `katex` option is enabled, the KaTeX math engine is used for TeX rendering. You can find a list of supported features and examples here: <https://katex.org/docs/supported.html>.
320
+
321
+ $$\begin{pmatrix}x_2 \\ y_2 \end{pmatrix} =
322
+ \begin{pmatrix} A & B \\ C & D \end{pmatrix}\cdot
323
+ \begin{pmatrix} x_1 \\ y_1 \end{pmatrix}$$
324
+
325
+ $$\def\arraystretch{1.5}
326
+ \begin{array}{c:c:c}
327
+ a & b & c \\ \hline
328
+ d & e & f \\
329
+ \hdashline
330
+ g & h & i
331
+ \end{array}$$
332
+
333
+ $$
334
+ \underbrace{a+b+c}_{\text{Note: such math, much wow.}}
335
+ $$
336
+
337
+ ### Tab Panels
338
+
339
+ <tab-panels selected-index="0">
340
+ <nav>
341
+ <button type="button">First Tab</button>
342
+ <button type="button">Second Tab</button>
343
+ </nav>
344
+
345
+ <section>
346
+
347
+ ```json
348
+ {
349
+ "foo": "foo",
350
+ "baz": 1
351
+ }
352
+ ```
353
+
354
+ </section>
355
+ <section>
356
+
357
+ ```json
358
+ {
359
+ "foo": "bar",
360
+ "baz": 2
361
+ }
362
+ ```
363
+
364
+ </section>
365
+ </tab-panels>
366
+
367
+ ### Fancy Links
368
+
369
+ Spec-Up automatically upgrades the links of certain sites, like GitHub. GitHub is the only supported site with Fancy Links right now, but we'll be adding more as we go.
370
+
371
+ ### GitHub
372
+
373
+ - **Issues**
374
+ - Source: `https://github.com/decentralized-identity/presentation-exchange/issues/119`
375
+ - Render: https://github.com/decentralized-identity/presentation-exchange/issues/119
376
+ - **Pull Requests**
377
+ - Source: `https://github.com/decentralized-identity/sidetree/pull/863`
378
+ - Render: https://github.com/decentralized-identity/sidetree/pull/863
379
+ - **Releases**
380
+ - Source: `https://github.com/decentralized-identity/sidetree/releases/tag/v0.9.1`
381
+ - Render: https://github.com/decentralized-identity/sidetree/releases/tag/v0.9.1
382
+ - **Projects**
383
+ - Source: `https://github.com/decentralized-identity/sidetree/projects/1`
384
+ - Render: https://github.com/decentralized-identity/sidetree/projects/1
package/spec/intro.md ADDED
@@ -0,0 +1,7 @@
1
+ # Spec-Up-T Demo
2
+
3
+ ## Intro
4
+
5
+ This is a default Spec-Up-T installation. Find information on the [documentation website](https://blockchainbird.github.io/spec-up-t-website/).
6
+
7
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
package/spec/outro.md ADDED
@@ -0,0 +1,3 @@
1
+ ## Outro
2
+
3
+ Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
@@ -0,0 +1,5 @@
1
+ # Terms and Definitions Intro
2
+
3
+ ## Demo terms, definitions and external definitions
4
+
5
+ A demo of terms and definitions, and references to external definitions.
package/specs.json CHANGED
@@ -1,24 +1,22 @@
1
1
  {
2
2
  "specs": [
3
3
  {
4
- "title": "Spec-Up ToIP example",
4
+ "title": "Spec-Up-T",
5
5
  "spec_directory": "./spec",
6
6
  "spec_terms_directory": "terms-definitions",
7
7
  "output_path": "./docs",
8
8
  "markdown_paths": [
9
- "title.md",
10
- "header.md",
11
- "toc.md",
12
- "introduction.md",
13
- "referenced_glossaries.md",
14
- "terms_and_definitions.md",
9
+ "intro.md",
10
+ "terms-and-definitions-intro.md",
15
11
  "terms-definitions/term-1.md",
16
12
  "terms-definitions/term-2.md",
17
13
  "terms-definitions/term-3.md",
18
- "terms-definitions/term-4.md"
14
+ "terms-definitions/term-4.md",
15
+ "example-markup-in-markdown.md",
16
+ "outro.md"
19
17
  ],
20
- "logo": "../logo.svg",
21
- "logo_link": "https://github.com/decentralized-identity/spec-up",
18
+ "logo": "https://raw.githubusercontent.com/blockchainbird/spec-up-t/master/logo.svg",
19
+ "logo_link": "https://github.com/blockchainbird/spec-up-t",
22
20
  "source": {
23
21
  "host": "github",
24
22
  "account": "blockchainbird",
@@ -29,10 +27,10 @@
29
27
  "PE": "https://identity.foundation/presentation-exchange"
30
28
  },
31
29
  {
32
- "test-1": "https://kordwarshuis.github.io/spec-up-xref-test-1/"
30
+ "test-1": "https://blockchainbird.github.io/spec-up-xref-test-1/"
33
31
  },
34
32
  {
35
- "test-2": "https://kordwarshuis.github.io/spec-up-xref-test-2/"
33
+ "test-2": "https://blockchainbird.github.io/spec-up-xref-test-2/"
36
34
  }
37
35
  ],
38
36
  "external_specs_repos": [
@@ -43,12 +41,12 @@
43
41
  },
44
42
  {
45
43
  "external_spec": "test-1",
46
- "url": "https://github.com/kordwarshuis/spec-up-xref-test-1",
44
+ "url": "https://github.com/blockchainbird/spec-up-xref-test-1",
47
45
  "terms_dir": "spec/term-definitions"
48
46
  },
49
47
  {
50
48
  "external_spec": "test-2",
51
- "url": "https://github.com/kordwarshuis/spec-up-xref-test-2",
49
+ "url": "https://github.com/blockchainbird/spec-up-xref-test-2",
52
50
  "terms_dir": "spec/term-definitions"
53
51
  }
54
52
  ],