You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2019/11/14 13:20:06 UTC
[qpid-site] branch asf-site updated: update dispatch doc generation
script to work for upcoming releases from master
This is an automated email from the ASF dual-hosted git repository.
robbie pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/qpid-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 10679ff update dispatch doc generation script to work for upcoming releases from master
10679ff is described below
commit 10679ff7363b80208d14f64797f6b92bf8094384
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Thu Nov 14 13:19:48 2019 +0000
update dispatch doc generation script to work for upcoming releases from master
---
scripts/gen-dispatch-release-docs | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/scripts/gen-dispatch-release-docs b/scripts/gen-dispatch-release-docs
index 9e2dc2a..82d059a 100755
--- a/scripts/gen-dispatch-release-docs
+++ b/scripts/gen-dispatch-release-docs
@@ -38,15 +38,16 @@ def gen_dispatch_docs(release, source_dir, output_dir):
copy(input_file, output_file)
- book_input_dir = join(source_dir, "docs", "books", "user-guide")
- book_input_file = join(book_input_dir, "book.adoc")
+ books_input_dir = join(source_dir, "docs", "books")
+ book_input_file = join(books_input_dir, "user-guide", "book.adoc")
book_output_dir = join(output_dir, "user-guide")
book_output_file = join(book_output_dir, "index.html.in")
+ remove(book_output_dir)
make_dir(book_output_dir)
call("asciidoctor --no-header-footer -o {} {}", book_output_file, book_input_file)
- copy(join(book_input_dir, "../_images"), join(book_output_dir, "_images"))
+ copy(join(books_input_dir, "images"), join(book_output_dir, "images"))
# Asciidoctor strips the title - add it back
prepend(book_output_file, "<h1>Using Qpid Dispatch</h1>\n")
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org