Update to Antora 3.0.1

Closes gh-2038
This commit is contained in:
Eleftheria Stein
2022-03-11 15:46:19 +01:00
parent 282f774e07
commit 9a643c8866
6 changed files with 9 additions and 50 deletions

View File

@@ -3,8 +3,8 @@
const { posix: path } = require('path')
module.exports.register = (pipeline, { config }) => {
pipeline.on('contentClassified', ({ contentCatalog }) => {
module.exports.register = function({ config }) {
this.on('contentClassified', ({ contentCatalog }) => {
contentCatalog.getComponents().forEach(component => {
const componentName = component.name;
const generationToVersion = new Map();
@@ -197,4 +197,4 @@ function no_data(key, value) {
return value ? "__data__" : value;
}
return value;
}
}