From 139cb35438c3e0b399b08d837b83b100e02303e4 Mon Sep 17 00:00:00 2001 From: Harry Rybacki Date: Wed, 18 Jan 2017 14:09:33 -0500 Subject: [PATCH] Ensure sphinx build output is collected Debugging issues related to doc generation is very difficult without access to sphinx logs. This review pushes sphinx_build.log into {{ artcl_collect_dir }}/docs which will be consumed with all other log files by the publishes. Change-Id: I1c99187f952e92f6a1d89c5f7fadb99e21541e8e --- roles/collect-logs/tasks/create-docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/collect-logs/tasks/create-docs.yml b/roles/collect-logs/tasks/create-docs.yml index 53ddba631..c8b1dd659 100644 --- a/roles/collect-logs/tasks/create-docs.yml +++ b/roles/collect-logs/tasks/create-docs.yml @@ -33,5 +33,5 @@ - name: Build docs with Sphinx shell: > - sphinx-build -b html "{{ artcl_docs_source_dir }}" \ - "{{ artcl_docs_build_dir }}" &> "{{ local_working_dir }}/sphinx_build.log" + sphinx-build -b html "{{ artcl_docs_source_dir }}" + "{{ artcl_docs_build_dir }}" &> "{{ artcl_collect_dir }}/docs/sphinx_build.log"