Merge "prepare-docs-for-afs: Allow reuse"

This commit is contained in:
Zuul 2017-10-18 13:16:52 +00:00 committed by Gerrit Code Review
commit 2e70ea1acf
3 changed files with 12 additions and 5 deletions

View File

@ -1 +1,11 @@
Prepare built openstack docs to be published to the OpenStack AFS cell.
Prepare built OpenStack docs to be published to the OpenStack AFS cell.
.. zuul:rolevar:: zuul_work_dir
:default: {{ zuul.project.src_dir }}
Directory to build documentation in.
.. zuul:rolevar:: doc_build_dir
:default: {{ zuul_work_dir }}/doc/build
Directory that contains the built documentation.

View File

@ -1 +1,2 @@
zuul_work_dir: "src/{{ zuul.project.canonical_name }}"
doc_build_dir: "{{ zuul_work_dir }}/doc/build"

View File

@ -1,7 +1,3 @@
- name: Set build dir fact
set_fact:
doc_build_dir: "{{ zuul_work_dir }}/doc/build"
- name: Write marker text
copy:
dest: "{{ doc_build_dir }}/html/.root-marker"