Update branches to include 6.8 and 7.1 (#2)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
Tyler Smalley
2019-05-01 16:32:18 -07:00
committed by Spencer
parent 7443cf577f
commit 7b1f726beb
15 changed files with 25976 additions and 1227 deletions

View File

@ -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('.');