This is an automated email from the ASF dual-hosted git repository. exceptionfactory pushed a commit to branch main-staging in repository https://gitbox.apache.org/repos/asf/nifi-site.git
commit 1147c6dc564a2f6ba92eb98485e21535453d3141 Author: exceptionfactory <[email protected]> AuthorDate: Tue Apr 21 16:32:28 2026 -0500 NIFI-15867 Added Deprecation Status to Component Documentation (cherry picked from commit d96bc37a3549c497cd8983756b31e273a8c94225) --- themes/nifi/layouts/_partials/component.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/themes/nifi/layouts/_partials/component.html b/themes/nifi/layouts/_partials/component.html index 59374853..a3c20d15 100644 --- a/themes/nifi/layouts/_partials/component.html +++ b/themes/nifi/layouts/_partials/component.html @@ -3,6 +3,28 @@ <h3>{{ .Params.title }} {{ .Params.version }}</h3> +{{ if .Params.deprecated }} +<div class="uk-alert uk-alert-danger"> + <strong>{{ .Params.title }}</strong> is <strong>deprecated</strong> and subject to removal in subsequent releases. + + {{ if .Params.deprecationReason }} + <dl> + <dt>Background</dt> + <dd>{{ .Params.deprecationReason }}</dd> + </dl> + {{ end }} + + {{ if .Params.deprecationAlternatives }} + <div class="uk-margin-top">Alternatives</div> + <ul class="uk-margin-remove-top"> + {{ range .Params.deprecationAlternatives }} + <li><a class="uk-link-reset" href="/components/{{ . }}/">{{ . }}</a></li> + {{ end }} + </ul> + {{ end }} +</div> +{{ end }} + <dl class="uk-description-list"> <dt>Bundle</dt> <dd>{{ .Params.group }} | {{ .Params.artifact }}</dd>
