spec-up-t 1.1.27 → 1.1.29

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.
@@ -24,4 +24,4 @@ h2,h3,h4,h5,h6{margin-top:1.5em!important}.toc-anchor{font-size:.875em;color:inh
24
24
  article a[href^="https://"]:not(.btn)::after,article a[href^=http]:not(.btn)::after{content:'';width:12px;height:12px;margin-left:4px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:contain;display:inline-block}
25
25
  #repo_issues>header{background:#eee;border-bottom:1px solid #ddd}#repo_issues>header span:first-of-type{font-weight:700;padding-top:.1em}#repo_issues>header .repo-issue-toggle{margin-left:auto;color:inherit;font-weight:700;text-decoration:none}#repo_issue_list{list-style:none;margin:0;padding:0 1.25em 1.25em;font-size:.85em;overflow:auto;-ms-overflow-style:none;scrollbar-width:none}#repo_issue_list::-webkit-scrollbar{display:none}#repo_issue_list:empty:before{content:"No issues found";display:block;text-align:center;font-size:1.1em;color:#aaa;margin:1em 0 0}.repo-issue detail-box{display:flex;flex-direction:column;padding:1em 0;border-bottom:1px solid #ddd}.repo-issue detail-box>section{order:1}.repo-issue detail-box>section:empty+.repo-issue-title [detail-box-toggle]{display:none}.repo-issue-title{display:flex;align-items:center}.repo-issue-link{flex:1;margin:0 0 0 .5em}.repo-issue-number{height:1em;margin:0 .4em 0 0;padding:.3em .25em 0;border-radius:3px;font-weight:700;background:#eee;border:1px solid #ddd;text-align:center;line-height:1em}.repo-issue-number:before{content:"#";font-weight:400;margin:0 .1em 0 0}.repo-issue [detail-box-toggle]{margin:0 0 0 1em;opacity:.35;transition:opacity .4s}.repo-issue [detail-box-toggle]:hover,.repo-issue detail-box[open] [detail-box-toggle]{opacity:1}
26
26
  .adjust-font-size #decreaseBtn{background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" xmlns:xlink="http://www.w3.org/1999/xlink"><text x="50%" y="50%" font-family="Times New Roman" font-size="50" fill="black" dominant-baseline="middle" text-anchor="middle">A</text></svg>') no-repeat center}.adjust-font-size #increaseBtn{background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" xmlns:xlink="http://www.w3.org/1999/xlink"><text x="50%" y="50%" font-family="Times New Roman" font-size="80" fill="black" dominant-baseline="middle" text-anchor="middle">A</text></svg>') no-repeat center}
27
- :target{scroll-margin-top:calc(50vh)}body:not([hashscroll]) :target{animation:highlight-target 3.5s .25s ease}body:not([hashscroll]) dt:has(:target){animation:highlight-target-parent-dt 3.5s .25s ease}svg[icon]{width:1.25em;height:1.25em;vertical-align:text-top}@keyframes highlight-target{50%{background-color:#ff0}}@keyframes highlight-target-parent-dt{50%{background-color:#ff0;border:1px solid #00c8ff}}#svg{display:none}main *{word-break:break-all;overflow-wrap:break-word}dd td img{max-width:30px}
27
+ :target{scroll-margin-top:calc(50vh)}body:not([hashscroll]) :target{animation:highlight-target 3.5s .25s ease}body:not([hashscroll]) dt:has(:target){animation:highlight-target-parent-dt 3.5s .25s ease}svg[icon]{width:1.25em;height:1.25em;vertical-align:text-top}@keyframes highlight-target{50%{background-color:#ff0}}@keyframes highlight-target-parent-dt{50%{background-color:#ff0;border:1px solid #00c8ff}}#svg{display:none}main *{word-break:break-all;overflow-wrap:break-word}dd td img{max-width:30px}.notice{margin:1em 0;padding:.5em .9em .55em .65em;border-left:.5em solid}.notice p{margin:.4em 0 0}.note{background:#e9fbe9;border-color:#52e052}.note .notice-link{display:block;color:#178217}.issue{background:#e9f0fb;border-color:#527fe0}.issue .notice-link:before{display:block;color:#1e4cae}.warning{background:#fbe9e9;border-color:#e05252}.warning .notice-link{display:block;color:#ae1e1e}.example{color:#cebe00;background:#1a1e23;border-left:.5em solid}.example .notice-link{display:block;color:inherit;font-size:1.1em;font-family:Heebo,san-serif}.example pre[class*=language-]{padding:0;border-radius:0}.todo{background:#fbe4ff;border-color:#9700e2}.todo .notice-link{display:block;color:#6d00a2}
@@ -23,6 +23,7 @@ svg[icon] {
23
23
  background-color: yellow;
24
24
  }
25
25
  }
26
+
26
27
  @keyframes highlight-target-parent-dt {
27
28
  50% {
28
29
  background-color: yellow;
@@ -45,4 +46,80 @@ main * {
45
46
 
46
47
  dd td img {
47
48
  max-width: 30px;
48
- }
49
+ }
50
+
51
+
52
+
53
+
54
+
55
+ /* Notices */
56
+
57
+ .notice {
58
+ margin: 1em 0;
59
+ padding: 0.5em 0.9em 0.55em 0.65em;
60
+ border-left: .5em solid;
61
+ }
62
+
63
+ .notice p {
64
+ margin: 0.4em 0 0;
65
+ }
66
+
67
+ .note {
68
+ background: #E9FBE9;
69
+ border-color: #52E052;
70
+ }
71
+
72
+ .note .notice-link {
73
+ display: block;
74
+ color: #178217;
75
+ }
76
+
77
+ .issue {
78
+ background: rgb(233, 240, 251);
79
+ border-color: rgb(82, 127, 224);
80
+ }
81
+
82
+ .issue .notice-link:before {
83
+ display: block;
84
+ color: rgb(30, 76, 174);
85
+ }
86
+
87
+ .warning {
88
+ background: #FBE9E9;
89
+ border-color: #E05252;
90
+ }
91
+
92
+ .warning .notice-link {
93
+ display: block;
94
+ color: #AE1E1E;
95
+ }
96
+
97
+ .example {
98
+ color: #cebe00;
99
+ background: #1a1e23;
100
+ border-left: 0.5em solid;
101
+ }
102
+
103
+ .example .notice-link {
104
+ display: block;
105
+ color: inherit;
106
+ font-size: 1.1em;
107
+ font-family: Heebo, san-serif;
108
+ }
109
+
110
+ .example pre[class*="language-"] {
111
+ padding: 0;
112
+ border-radius: 0;
113
+ }
114
+
115
+ .todo {
116
+ background: #fbe4ff;
117
+ border-color: #9700e2;
118
+ }
119
+
120
+ .todo .notice-link {
121
+ display: block;
122
+ color: #6d00a2;
123
+ }
124
+
125
+ /* End Notices */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-up-t",
3
- "version": "1.1.27",
3
+ "version": "1.1.29",
4
4
  "description": "Technical specification drafting tool that generates rich specification documents from markdown. Forked from https://github.com/decentralized-identity/spec-up by Daniel Buchner (https://github.com/csuwildcat)",
5
5
  "main": "./index",
6
6
  "repository": {
@@ -23,7 +23,7 @@ function createTermIndex() {
23
23
  const specTermDirectoryName = config.specs.map(spec => spec.spec_terms_directory);
24
24
  const outputPathJSON = path.join('output', 'term-index.json');
25
25
  const files = fs.readdirSync(path.join(specDirectories[0], specTermDirectoryName[0]))
26
- .filter(file => !file.startsWith('_'));
26
+ .filter(file => !file.startsWith('_') && file.endsWith('.md'));
27
27
 
28
28
  const filePaths = files.map(file => specTermDirectoryName[0] + '/' + file);
29
29