Move data directory under doc/source
This commit moves the data directory under doc/source directory. The data directory have only tempest-plugins-registry.header which is only used for documentation. So, this change makes it clearer for the meaning of the directory. Change-Id: I73059707cb45bb241128662fbd7a48747332ea7f
This commit is contained in:
parent
4747708c01
commit
6d5a48cbe7
@ -33,8 +33,8 @@
|
|||||||
# * network access to https://git.openstack.org/cgit
|
# * network access to https://git.openstack.org/cgit
|
||||||
# ))
|
# ))
|
||||||
#
|
#
|
||||||
# If a file named data/tempest-plugins-registry.header or
|
# If a file named doc/source/data/tempest-plugins-registry.header or
|
||||||
# data/tempest-plugins-registry.footer is found relative to the
|
# doc/source/data/tempest-plugins-registry.footer is found relative to the
|
||||||
# current working directory, it will be prepended or appended to
|
# current working directory, it will be prepended or appended to
|
||||||
# the generated reStructuredText plugins table respectively.
|
# the generated reStructuredText plugins table respectively.
|
||||||
|
|
||||||
@ -43,8 +43,8 @@ set -ex
|
|||||||
(
|
(
|
||||||
declare -A plugins
|
declare -A plugins
|
||||||
|
|
||||||
if [[ -r data/tempest-plugins-registry.header ]]; then
|
if [[ -r doc/source/data/tempest-plugins-registry.header ]]; then
|
||||||
cat data/tempest-plugins-registry.header
|
cat doc/source/data/tempest-plugins-registry.header
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sorted_plugins=$(python tools/generate-tempest-plugins-list.py)
|
sorted_plugins=$(python tools/generate-tempest-plugins-list.py)
|
||||||
@ -56,8 +56,8 @@ for k in ${sorted_plugins}; do
|
|||||||
printf "+----------------------------+-------------------------------------------------------------------------+\n"
|
printf "+----------------------------+-------------------------------------------------------------------------+\n"
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ -r data/tempest-plugins-registry.footer ]]; then
|
if [[ -r doc/source/data/tempest-plugins-registry.footer ]]; then
|
||||||
cat data/tempest-plugins-registry.footer
|
cat doc/source/data/tempest-plugins-registry.footer
|
||||||
fi
|
fi
|
||||||
) > doc/source/plugin-registry.rst
|
) > doc/source/plugin-registry.rst
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user