@antora/site-generator-default 3.0.0-beta.2 → 3.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/generate-site.js +5 -5
- package/package.json +14 -14
package/lib/generate-site.js
CHANGED
|
@@ -9,14 +9,14 @@ async function generateSite (playbook) {
|
|
|
9
9
|
const { fxns, vars } = await GeneratorContext.start(context, playbook)
|
|
10
10
|
await context.notify('playbookBuilt')
|
|
11
11
|
playbook = vars.lock('playbook')
|
|
12
|
-
vars.
|
|
12
|
+
vars.siteAsciiDocConfig = fxns.resolveAsciiDocConfig(playbook)
|
|
13
13
|
vars.siteCatalog = new SiteCatalog()
|
|
14
14
|
await context.notify('beforeProcess')
|
|
15
|
-
const
|
|
15
|
+
const siteAsciiDocConfig = vars.lock('siteAsciiDocConfig')
|
|
16
16
|
await Promise.all([
|
|
17
17
|
fxns.aggregateContent(playbook).then((contentAggregate) =>
|
|
18
18
|
context.notify('contentAggregated', Object.assign(vars, { contentAggregate })).then(() => {
|
|
19
|
-
vars.contentCatalog = fxns.classifyContent(playbook, vars.remove('contentAggregate'),
|
|
19
|
+
vars.contentCatalog = fxns.classifyContent(playbook, vars.remove('contentAggregate'), siteAsciiDocConfig)
|
|
20
20
|
})
|
|
21
21
|
),
|
|
22
22
|
fxns.loadUi(playbook).then((uiCatalog) => context.notify('uiLoaded', Object.assign(vars, { uiCatalog }))),
|
|
@@ -24,9 +24,9 @@ async function generateSite (playbook) {
|
|
|
24
24
|
await context.notify('contentClassified')
|
|
25
25
|
const contentCatalog = vars.lock('contentCatalog')
|
|
26
26
|
const uiCatalog = vars.lock('uiCatalog')
|
|
27
|
-
fxns.convertDocuments(contentCatalog,
|
|
27
|
+
fxns.convertDocuments(contentCatalog, siteAsciiDocConfig)
|
|
28
28
|
await context.notify('documentsConverted')
|
|
29
|
-
vars.navigationCatalog = fxns.buildNavigation(contentCatalog,
|
|
29
|
+
vars.navigationCatalog = fxns.buildNavigation(contentCatalog, siteAsciiDocConfig)
|
|
30
30
|
await context.notify('navigationBuilt')
|
|
31
31
|
;(() => {
|
|
32
32
|
const navigationCatalog = vars.remove('navigationCatalog')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antora/site-generator-default",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.3",
|
|
4
4
|
"description": "The default site generator for producing and publishing static documentation sites with Antora.",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"author": "OpenDevise Inc. (https://opendevise.com)",
|
|
@@ -15,21 +15,21 @@
|
|
|
15
15
|
},
|
|
16
16
|
"main": "lib/index.js",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@antora/asciidoc-loader": "3.0.0-beta.
|
|
19
|
-
"@antora/content-aggregator": "3.0.0-beta.
|
|
20
|
-
"@antora/content-classifier": "3.0.0-beta.
|
|
21
|
-
"@antora/document-converter": "3.0.0-beta.
|
|
22
|
-
"@antora/logger": "3.0.0-beta.
|
|
23
|
-
"@antora/navigation-builder": "3.0.0-beta.
|
|
24
|
-
"@antora/page-composer": "3.0.0-beta.
|
|
25
|
-
"@antora/redirect-producer": "3.0.0-beta.
|
|
26
|
-
"@antora/site-mapper": "3.0.0-beta.
|
|
27
|
-
"@antora/site-publisher": "3.0.0-beta.
|
|
28
|
-
"@antora/ui-loader": "3.0.0-beta.
|
|
18
|
+
"@antora/asciidoc-loader": "3.0.0-beta.3",
|
|
19
|
+
"@antora/content-aggregator": "3.0.0-beta.3",
|
|
20
|
+
"@antora/content-classifier": "3.0.0-beta.3",
|
|
21
|
+
"@antora/document-converter": "3.0.0-beta.3",
|
|
22
|
+
"@antora/logger": "3.0.0-beta.3",
|
|
23
|
+
"@antora/navigation-builder": "3.0.0-beta.3",
|
|
24
|
+
"@antora/page-composer": "3.0.0-beta.3",
|
|
25
|
+
"@antora/redirect-producer": "3.0.0-beta.3",
|
|
26
|
+
"@antora/site-mapper": "3.0.0-beta.3",
|
|
27
|
+
"@antora/site-publisher": "3.0.0-beta.3",
|
|
28
|
+
"@antora/ui-loader": "3.0.0-beta.3",
|
|
29
29
|
"@antora/user-require-helper": "~2.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@antora/playbook-builder": "3.0.0-beta.
|
|
32
|
+
"@antora/playbook-builder": "3.0.0-beta.3"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
35
35
|
"node": ">=12.21.0"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"static site",
|
|
47
47
|
"web publishing"
|
|
48
48
|
],
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "45da95a2e2dea538379d2d9f42013d2208fb86c3"
|
|
50
50
|
}
|