Add deprecation tag (#3922)

* Add deprecation tag

* match docsContent styling in dialog
This commit is contained in:
Andrew Chen
2017-05-26 16:59:29 -07:00
committed by GitHub
parent fd4ce1860a
commit 4ca2f4e738
4 changed files with 224 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<a href="#" id="feature-state-dialog-link" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-newwin"></span>{{ dialog_title }}</a>
<div id="feature-state-dialog" title="{{ dialog_title }}">
<div id="feature-state-dialog" class="ui-dialog-content" title="{{ dialog_title }}">
{{ dialog_content | markdownify }}
</div>
{% raw %}<script>
+6
View File
@@ -0,0 +1,6 @@
{% assign dialog_title = "deprecated" %}
{% capture dialog_content %}
This feature is *deprecated*. See [Deprecating parts of the API](/docs/reference/deprecation-policy/#deprecating-parts-of-the-api) for more information.
{% endcapture %}
**DEPRECATION NOTICE:** As of `Kubernetes {{ for_k8s_version | default: page.version }}` this feature is {% include feature-dialog.md %}