Skip to content

Commit

Permalink
feat(core): use an info block for alias documentation
Browse files Browse the repository at this point in the history
Part-of: #4753
  • Loading branch information
loicmathieu committed Oct 23, 2024
1 parent 91f1760 commit 336f89a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/src/main/resources/docs/task.peb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,15 @@ icon: {{ icon }}
</h1>

{% if deprecated %}
{%- if replacement -%}
::alert{type="info"}
🛈 This feature has been moved to a new location, please use `{{ replacement }}` instead.
::
{%- else -%}
::alert{type="warning"}
⚠ This feature is deprecated and will be removed in the future. We encourage you to migrate to the new plugin, but you can still use the deprecated version.
{% if replacement %}Please use `{{ replacement }}` instead. {%- endif %}
::
{%- endif -%}
{%- endif %}

{% if beta %}
Expand Down

0 comments on commit 336f89a

Please sign in to comment.