Merge "Improve output of Verify Sphinx build task"

This commit is contained in:
Zuul 2019-01-04 02:42:38 +00:00 committed by Gerrit Code Review
commit 1c3e3eeb55
1 changed files with 3 additions and 1 deletions

View File

@ -21,8 +21,10 @@
- not artcl_collect|bool
- name: Verify Sphinx build
shell: grep "{{ item }}" "{{ artcl_collect_dir }}/docs/build/index.html"
shell:
grep -q "{{ item }}" "{{ artcl_collect_dir }}/docs/build/index.html"
with_items: "{{ artcl_create_docs_payload.table_of_contents }}"
changed_when: false
when:
- artcl_gen_docs|bool
- artcl_verify_sphinx_build|bool