@antora/assembler 1.0.0-beta.2 → 1.0.0-beta.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/assemble-content.js
CHANGED
|
@@ -113,7 +113,7 @@ function createResolveAssemblyModel (context, contentCatalog, shared, intrinsicA
|
|
|
113
113
|
return (componentVersion) => {
|
|
114
114
|
const componentVersionProfiles = assemblerProfiles.get(componentVersion.version + '@' + componentVersion.name)
|
|
115
115
|
const overrides =
|
|
116
|
-
componentVersionProfiles?.get(intrinsicAttributes['assembler-profile']) ?? componentVersionProfiles?.get()
|
|
116
|
+
componentVersionProfiles?.get(intrinsicAttributes['assembler-profile']) ?? componentVersionProfiles?.get() ?? {}
|
|
117
117
|
const { navFiles, messages } = overrides
|
|
118
118
|
const model = Object.assign({}, shared, overrides)
|
|
119
119
|
delete model.navFiles
|
|
@@ -87,7 +87,6 @@ function produceAssemblyFiles (loadAsciiDoc, contentCatalog, assemblerConfig, re
|
|
|
87
87
|
accum.push(assemblyFile)
|
|
88
88
|
return true
|
|
89
89
|
}, false)
|
|
90
|
-
mergedAsciiDocAttributes.doctype = assemblyModel.doctype
|
|
91
90
|
sourceHighlighter
|
|
92
91
|
? (mergedAsciiDocAttributes['source-highlighter'] = sourceHighlighter)
|
|
93
92
|
: delete mergedAsciiDocAttributes['source-highlighter']
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antora/assembler",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.3",
|
|
4
4
|
"description": "A JavaScript library that merges AsciiDoc content from multiple pages in an Antora site into assembly files and delegates to an exporter to convert those files to another format, such as PDF.",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"author": "OpenDevise Inc. (https://opendevise.com)",
|