зеркало из https://github.com/microsoft/CCF.git
Stop building versioned documentation for 1.x (#4053)
This commit is contained in:
Родитель
9b11cff6b1
Коммит
4fcde54dd0
|
@ -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")
|
||||||
|
|
Загрузка…
Ссылка в новой задаче