Update branches to include 6.8 and 7.1 (#2)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
@ -201,10 +201,10 @@ module.exports = function (branch, done) {
|
||||
def.documentation = 'http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cat.html';
|
||||
}
|
||||
|
||||
def.documentation = def.documentation.replace(
|
||||
def.documentation = def.documentation ? def.documentation.replace(
|
||||
/^https?:\/\/.+?\/guide\/en\/elasticsearch\/(.+?)\/.+?\//,
|
||||
`https://www.elastic.co/guide/en/elasticsearch/$1/${branch}/`
|
||||
);
|
||||
) : '';
|
||||
|
||||
var steps = name.split('.');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user