Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@
= Deprecated plugins

[role="_abstract"]
{product} ({product-very-short}) includes several deprecated plugins, which are no longer being actively developed. Migrate to an alternative solution as soon as possible, because these plugins will be removed in a future release.

{product-very-short} includes the following 0 deprecated plugins.

There are no deprecated plugins in this release of {product} ({product-very-short})
Original file line number Diff line number Diff line change
Expand Up @@ -520,13 +520,15 @@ generate_dynamic_plugins_table() {
sed -e "/%%TABLE_CONTENT_${count}%%/{r $adocfile" -e 'd;}' \
-e "s/\%\%COUNT_${count}\%\%/$this_num_plugins/" \
"${0/rhdh-supported-plugins.sh/${d}.template.adoc}" > "${0/rhdh-supported-plugins.sh/${d}.adoc}"
else
elif [[ $d == ref-deprecated-plugins ]]; then

echo -e "${blue} no plugins to include: ${d}.adoc table removed.${norm}"
(( empties = empties + 1 ))
# delete from table header line to end of file
sed -r -e '/\[%header,cols=.+\]/,$d' \
-e "s/\%\%COUNT_${count}\%\%/$this_num_plugins/" \
"${0/rhdh-supported-plugins.sh/${d}.template.adoc}" > "${0/rhdh-supported-plugins.sh/${d}.adoc}"
# Only ref-deprecated-plugins can be empty; print through [role="_abstract"], then fixed sentence ({product} etc. resolve at book build).
{
sed -n '1,/^\[role="_abstract"\]$/p' "${0/rhdh-supported-plugins.sh/${d}.template.adoc}"
printf '%s\n' 'There are no deprecated plugins in this release of {product} ({product-very-short})'
} > "${0/rhdh-supported-plugins.sh/${d}.adoc}"
fi
rm -f "$adocfile"
echo ""
Expand Down
Loading