@antora/content-classifier 3.0.0-rc.2 → 3.0.0-rc.3
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/classify-content.js +1 -5
- package/package.json +3 -3
package/lib/classify-content.js
CHANGED
|
@@ -156,11 +156,7 @@ function resolveAsciiDocConfig (siteAsciiDocConfig, { asciidoc }) {
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
function calculateRootPath (depth) {
|
|
159
|
-
return depth
|
|
160
|
-
? Array(depth)
|
|
161
|
-
.fill('..')
|
|
162
|
-
.join('/')
|
|
163
|
-
: '.'
|
|
159
|
+
return depth ? Array(depth).fill('..').join('/') : '.'
|
|
164
160
|
}
|
|
165
161
|
|
|
166
162
|
module.exports = classifyContent
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antora/content-classifier",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.3",
|
|
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)",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"test": "_mocha"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@antora/logger": "3.0.0-rc.
|
|
22
|
+
"@antora/logger": "3.0.0-rc.3",
|
|
23
23
|
"mime-types": "~2.1",
|
|
24
24
|
"vinyl": "~2.2"
|
|
25
25
|
},
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"static site",
|
|
38
38
|
"web publishing"
|
|
39
39
|
],
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "f3b3cbb4a08640bbcf55e685929409e20b186634"
|
|
41
41
|
}
|