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:
@@ -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]}/");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user