Pad around table in plugin list

Make sure the table is separated out from header and footer content so
it actually gets picked up as a table.

Change-Id: I60a24b2476a55cfbf5c864a1c27ce5b98e699886
This commit is contained in:
Ian Wienand 2016-04-06 09:27:56 +10:00
parent 0486a3659e
commit 17e450131c

View File

@ -68,6 +68,7 @@ name_col_len=$(( name_col_len + 2 ))
# foobar `git://... <http://...>`__ # foobar `git://... <http://...>`__
# ... # ...
printf "\n\n"
title_underline ${name_col_len} title_underline ${name_col_len}
printf "%-${name_col_len}s %s\n" "Plugin Name" "URL" printf "%-${name_col_len}s %s\n" "Plugin Name" "URL"
title_underline ${name_col_len} title_underline ${name_col_len}
@ -77,6 +78,7 @@ for plugin in ${sorted_plugins}; do
gitlink="https://git.openstack.org/cgit/openstack/${plugin}" gitlink="https://git.openstack.org/cgit/openstack/${plugin}"
printf "%-${name_col_len}s %s\n" "${plugin}" "\`${giturl} <${gitlink}>\`__" printf "%-${name_col_len}s %s\n" "${plugin}" "\`${giturl} <${gitlink}>\`__"
done done
printf "\n\n"
if [[ -r data/devstack-plugins-registry.footer ]]; then if [[ -r data/devstack-plugins-registry.footer ]]; then
cat data/devstack-plugins-registry.footer cat data/devstack-plugins-registry.footer