From 95c9c7951f1960b8d3ff1f06ff61d8097b3bf970 Mon Sep 17 00:00:00 2001 From: Alan de Freitas Date: Thu, 14 Mar 2024 15:31:15 -0300 Subject: [PATCH] Antora documentation is stored in doc/antora (#63) --- ci_boost_release.py | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/ci_boost_release.py b/ci_boost_release.py index e4fd05f..fee18e6 100644 --- a/ci_boost_release.py +++ b/ci_boost_release.py @@ -700,18 +700,12 @@ def command_build(self): # Patch release with antora docs antora_lib_docs = os.path.join(self.build_dir, "antora/build/lib/doc") release_lib_docs = os.path.join( - self.releases_dir, self.boost_release_name, "libs" + self.releases_dir, self.boost_release_name, "doc", "antora" + ) + utils.makedirs(release_lib_docs) + shutil.copytree( + antora_lib_docs, release_lib_docs, symlinks=False, dirs_exist_ok=True ) - for d in os.listdir(antora_lib_docs): - if not os.path.isdir(os.path.join(antora_lib_docs, d)): - continue - shutil.copytree( - os.path.join(antora_lib_docs, d), - os.path.join(release_lib_docs, d), - symlinks=False, - dirs_exist_ok=True, - ) - packages = [] archive_files = []