@antora/content-classifier 3.0.0-beta.4 → 3.0.0-beta.5
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/lib/content-catalog.js +3 -9
- package/package.json +3 -4
package/lib/content-catalog.js
CHANGED
|
@@ -571,15 +571,9 @@ function createSymbolicVersionAlias (component, version, symbolicVersionSegment,
|
|
|
571
571
|
family
|
|
572
572
|
),
|
|
573
573
|
}
|
|
574
|
-
|
|
575
|
-
originalVersionAlias
|
|
576
|
-
|
|
577
|
-
return originalVersionAlias
|
|
578
|
-
} else {
|
|
579
|
-
symbolicVersionAlias.out = undefined
|
|
580
|
-
symbolicVersionAlias.rel = originalVersionAlias
|
|
581
|
-
return symbolicVersionAlias
|
|
582
|
-
}
|
|
574
|
+
return strategy === 'redirect:to'
|
|
575
|
+
? Object.assign(originalVersionAlias, { out: undefined, rel: symbolicVersionAlias })
|
|
576
|
+
: Object.assign(symbolicVersionAlias, { out: undefined, rel: originalVersionAlias })
|
|
583
577
|
}
|
|
584
578
|
|
|
585
579
|
function getFileLocation ({ path: path_, src: { abspath, origin } }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antora/content-classifier",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.5",
|
|
4
4
|
"description": "Organizes aggregated content into a virtual file catalog for use in an Antora documentation pipeline.",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"author": "OpenDevise Inc. (https://opendevise.com)",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"main": "lib/index.js",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@antora/logger": "3.0.0-beta.
|
|
19
|
+
"@antora/logger": "3.0.0-beta.5",
|
|
20
20
|
"mime-types": "~2.1",
|
|
21
21
|
"vinyl": "~2.2"
|
|
22
22
|
},
|
|
@@ -34,6 +34,5 @@
|
|
|
34
34
|
"static site",
|
|
35
35
|
"web publishing"
|
|
36
36
|
],
|
|
37
|
-
"gitHead": "
|
|
38
|
-
"readmeFilename": "README.md"
|
|
37
|
+
"gitHead": "a13d03df41654d4deb78211a5a54953ce2a35fb8"
|
|
39
38
|
}
|