Skip to content

Commit 964a62d

Browse files
committed
Apply antora customization in more cases: when build_antora.sh is present.
1 parent b274595 commit 964a62d

File tree

2 files changed

+2542
-3
lines changed

2 files changed

+2542
-3
lines changed

ci_boost_release.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,10 @@ def command_build(self):
500500

501501
os.chdir(self.root_dir)
502502
for directoryname in glob.iglob("libs/*", recursive=False):
503-
if os.path.isdir(directoryname) and os.path.isfile(
504-
os.path.join(directoryname, "doc", "antora_docs.sh")
505-
): # filter dirs
503+
if os.path.isdir(directoryname) and (
504+
os.path.isfile(os.path.join(directoryname, "doc", "antora_docs.sh"))
505+
or os.path.isfile(os.path.join(directoryname, "doc", "build_antora.sh"))
506+
):
506507
antora_libraries.append(directoryname)
507508

508509
utils.check_call(

0 commit comments

Comments
 (0)