Stop building versioned documentation for 1.x (#4053)

This commit is contained in:
Julien Maffre 2022-07-20 11:51:57 +01:00 коммит произвёл GitHub
Родитель 9b11cff6b1
Коммит 4fcde54dd0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -216,12 +216,12 @@ breathe_default_project = "CCF"
# Set up multiversion extension # Set up multiversion extension
smv_tag_whitelist = None smv_tag_whitelist = None
smv_branch_whitelist = r"^(main)|(release\/\d+\.x)$" smv_branch_whitelist = r"^(main)|(release\/([2-9]|\d\d\d*)\.x)$"
smv_remote_whitelist = None smv_remote_whitelist = None
smv_outputdir_format = "{ref.name}" smv_outputdir_format = "{ref.name}"
assert re.match(smv_branch_whitelist, "main") assert re.match(smv_branch_whitelist, "main")
assert re.match(smv_branch_whitelist, "release/1.x") assert not re.match(smv_branch_whitelist, "release/1.x")
assert re.match(smv_branch_whitelist, "release/2.x") assert re.match(smv_branch_whitelist, "release/2.x")
assert re.match(smv_branch_whitelist, "release/100.x") assert re.match(smv_branch_whitelist, "release/100.x")
assert not re.match(smv_branch_whitelist, "release/1.x_feature") assert not re.match(smv_branch_whitelist, "release/1.x_feature")