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/assets/js/show-commit-hashes.js +18 -0
- package/docs/index.html +32 -142
- package/index.js +6 -0
- package/logo-dif-toip-combined.svg +236 -0
- package/logo-dif.svg +200 -0
- package/logo-toip.svg +41 -0
- package/logo.svg +235 -216
- package/package.json +3 -7
- package/readme.md +2 -161
- package/spec/example-markup-in-markdown.md +384 -0
- package/spec/intro.md +7 -0
- package/spec/outro.md +3 -0
- package/spec/terms-and-definitions-intro.md +5 -0
- package/specs.json +12 -14
- package/src/fix-markdown-files.js +64 -0
- package/src/get-xrefs-data.js +56 -33
- package/src/json-key-validator.js +94 -0
- package/logo.png +0 -0
- package/spec/header.md +0 -20
- package/spec/introduction.md +0 -32
- package/spec/referenced_glossaries.md +0 -24
- package/spec/terms_and_definitions.md +0 -10
- package/spec/title.md +0 -38
- package/spec/toc.md +0 -4
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file This file fetches and displays commit hashes by matching elements with `data-local-href` attributes against the `allXrefs` global object.
|
|
3
|
+
* Example:
|
|
4
|
+
* const allXrefs = {
|
|
5
|
+
"xrefs": [
|
|
6
|
+
{
|
|
7
|
+
"externalSpec": "test-1",
|
|
8
|
+
"term": "Aal",
|
|
9
|
+
"repoUrl": "https://github.com/blockchainbird/spec-up-xref-test-1",
|
|
10
|
+
"terms_dir": "spec/term-definitions",
|
|
11
|
+
"owner": "blockchainbird",
|
|
12
|
+
"repo": "spec-up-xref-test-1",
|
|
13
|
+
"site": "https://blockchainbird.github.io/spec-up-xref-test-1/",
|
|
14
|
+
"commitHash": [
|
|
15
|
+
"f66951f1d378490289caab9c51141b44a0438365"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
{…}
|
|
19
|
+
]
|
|
20
|
+
};
|
|
3
21
|
* @author Kor Dwarshuis
|
|
4
22
|
* @version 0.0.1
|
|
5
23
|
* @license MIT
|