@forsakringskassan/docs-generator 1.27.0 → 1.29.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/README.md +5 -0
- package/dist/compile-example.js +8 -8
- package/dist/{create-markdown-renderer--V6N9Daq.js → create-markdown-renderer-D1cATjO1.js} +26 -2
- package/dist/{generator.d.ts → index.d.ts} +45 -4
- package/dist/{generator.js → index.js} +620 -498
- package/dist/markdown.js +7 -7
- package/dist/style/core.css +24 -10
- package/dist/style/index.css +53 -12
- package/dist/style/site.css +29 -2
- package/dist/{vendor-Dmnzl4fQ.js → vendor-uab7h6x-.js} +19121 -19121
- package/dist/{vue2-DYKDshbg.js → vue2-CBDrnmVO.js} +1 -1
- package/dist/{vue3-CEA3zw16.js → vue3-xJIC7Aol.js} +2 -2
- package/package.json +3 -3
- package/templates/partials/version.njk.html +15 -0
- package/templates/partials/version.html +0 -3
|
@@ -31,7 +31,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
31
|
// file that has been converted to a CommonJS file using a Babel-
|
|
32
32
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
33
33
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
34
|
-
|
|
34
|
+
!mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
35
35
|
mod
|
|
36
36
|
));
|
|
37
37
|
var require_lodash = __commonJS({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var require$$0 = require('@vue/compiler-sfc');
|
|
4
|
-
require('./vendor-
|
|
4
|
+
require('./vendor-uab7h6x-.js');
|
|
5
5
|
|
|
6
6
|
var __create = Object.create;
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
@@ -32,7 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
32
32
|
// file that has been converted to a CommonJS file using a Babel-
|
|
33
33
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
34
34
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
35
|
-
|
|
35
|
+
!mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
36
36
|
mod
|
|
37
37
|
));
|
|
38
38
|
var require_utils = __commonJS({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forsakringskassan/docs-generator",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.0",
|
|
4
4
|
"description": "Documentation generator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"documentation"
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"src/runtime/**/*"
|
|
18
18
|
],
|
|
19
19
|
"exports": {
|
|
20
|
-
".": "./dist/
|
|
20
|
+
".": "./dist/index.js",
|
|
21
21
|
"./markdown": "./dist/markdown.js",
|
|
22
22
|
"./runtime": "./dist/runtime.js",
|
|
23
23
|
"./docs.css": "./dist/style/index.css",
|
|
24
24
|
"./style.css": "./dist/style/index.css",
|
|
25
25
|
"./style/*.css": "./dist/style/*.css"
|
|
26
26
|
},
|
|
27
|
-
"main": "dist/
|
|
27
|
+
"main": "dist/index.js",
|
|
28
28
|
"files": [
|
|
29
29
|
"dist",
|
|
30
30
|
"tsconfig-examples.json",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{%- macro scmInfo(scm) -%}
|
|
2
|
+
{% if scm.pr %}<a href="{{ scm.prUrl }}">PR {{ scm.pr }}</a>{% endif %}
|
|
3
|
+
{{ scm.branch }} (<a href="{{ scm.commitUrl }}">{{ scm.commitShort }}</a>)<br />
|
|
4
|
+
{{ build.date }} {{ build.time }}
|
|
5
|
+
{%- endmacro -%}
|
|
6
|
+
|
|
7
|
+
<div class="toolbar__item">
|
|
8
|
+
<span class="version">
|
|
9
|
+
{% if scm -%}
|
|
10
|
+
{{ scmInfo(scm) }}
|
|
11
|
+
{%- else -%}
|
|
12
|
+
{{ pkg.version }}
|
|
13
|
+
{%- endif %}
|
|
14
|
+
</span>
|
|
15
|
+
</div>
|