Remove sphinx_output_dir
this is a partial revert of Ifd270cbc2d4bd42418b89a3b3061748ce537ae42, we do not need sphinx_output_dir anymore, the single use that needed it has been changed. Change-Id: I95543b1a56c04dbfb8591612e4c48be0d8631633
This commit is contained in:
parent
7f4b3a6486
commit
56b9c68ba2
@ -16,13 +16,6 @@ to the log root of the executor.
|
|||||||
|
|
||||||
Directory relative to zuul_work_dir where build output will be put.
|
Directory relative to zuul_work_dir where build output will be put.
|
||||||
|
|
||||||
.. zuul:rolevar:: sphinx_output_dir
|
|
||||||
:default: html
|
|
||||||
|
|
||||||
Directory relative to sphinx_build_dir where sphinx output will be
|
|
||||||
put. Unlike sphinx_build_dir, this will appear in the destination
|
|
||||||
directory and returned artifact URLs.
|
|
||||||
|
|
||||||
.. zuul:rolevar:: sphinx_output_suffix
|
.. zuul:rolevar:: sphinx_output_suffix
|
||||||
:default: ''
|
:default: ''
|
||||||
|
|
||||||
@ -31,7 +24,7 @@ to the log root of the executor.
|
|||||||
from the original path.
|
from the original path.
|
||||||
|
|
||||||
.. zuul:rolevar:: sphinx_output_src
|
.. zuul:rolevar:: sphinx_output_src
|
||||||
:default: {{ zuul_work_dir }}/{{ sphinx_build_dir }}/{{ sphinx_output_dir }}{{ sphinx_output_suffix }}
|
:default: {{ zuul_work_dir }}/{{ sphinx_build_dir }}/html{{ sphinx_output_suffix }}
|
||||||
|
|
||||||
The location on the worker from which to fetch the generated sphinx
|
The location on the worker from which to fetch the generated sphinx
|
||||||
content. By default, the HTML doc build dir of the current
|
content. By default, the HTML doc build dir of the current
|
||||||
|
@ -3,5 +3,4 @@ zuul_executor_dest: "{{ zuul.executor.log_root }}"
|
|||||||
zuul_work_dir: "{{ zuul.project.src_dir }}"
|
zuul_work_dir: "{{ zuul.project.src_dir }}"
|
||||||
sphinx_build_dir: doc/build
|
sphinx_build_dir: doc/build
|
||||||
sphinx_output_suffix: ""
|
sphinx_output_suffix: ""
|
||||||
sphinx_output_dir: "html"
|
sphinx_output_src: "{{ zuul_work_dir }}/{{ sphinx_build_dir }}/html{{ sphinx_output_suffix }}"
|
||||||
sphinx_output_src: "{{ zuul_work_dir }}/{{ sphinx_build_dir }}/{{ sphinx_output_dir }}{{ sphinx_output_suffix }}"
|
|
||||||
|
@ -11,6 +11,6 @@
|
|||||||
zuul:
|
zuul:
|
||||||
artifacts:
|
artifacts:
|
||||||
- name: "Docs preview site"
|
- name: "Docs preview site"
|
||||||
url: "{{ sphinx_output_dir }}/"
|
url: "html/"
|
||||||
metadata:
|
metadata:
|
||||||
type: docs_site
|
type: docs_site
|
||||||
|
Loading…
Reference in New Issue
Block a user