This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-site.git
The following commit(s) were added to refs/heads/main by this push:
new d96bc37a NIFI-15867 Added Deprecation Status to Component Documentation
d96bc37a is described below
commit d96bc37a3549c497cd8983756b31e273a8c94225
Author: exceptionfactory <[email protected]>
AuthorDate: Tue Apr 21 16:32:28 2026 -0500
NIFI-15867 Added Deprecation Status to Component Documentation
---
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>