Skip to content

Commit

Permalink
Antora documentation is stored in doc/antora (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas authored and sdarwin committed Mar 14, 2024
1 parent 658c8ca commit 95c9c79
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions ci_boost_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

Expand Down

0 comments on commit 95c9c79

Please sign in to comment.