2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-19 04:42:17 +00:00

Include beta documentation in scan-documentation.php

This commit is contained in:
Daniel James
2016-11-22 09:55:06 +00:00
parent 8d54f400e4
commit 7739a08fe8

View File

@@ -33,7 +33,7 @@ function main() {
if ($name == 'develop' || $name == 'master') {
// Store this somewhere?
}
else if (preg_match('@^(boost)_([0-9_]+)$@', $name, $match)) {
else if (preg_match('@^(boost)_([0-9_]+(?:b(?:eta)?[0-9_]*)?)$@', $name, $match)) {
$releases->addDocumentation($match[1], BoostVersion::from($match[2]), "/doc/libs/{$match[2]}/");
}
}