Add deprecated docs warning mechanism (#4731)

* Deprecated docs warning

* Unknown tag 'endcomment'

* only add css when necessary

* try lighter bgcolor

* tweak copy

* change development url to point at vnext-staging

* try callout

* rollback

* change var names

* update var used

* fix var typo

* turn off deprecation message
This commit is contained in:
William Martin Stewart
2017-08-11 08:07:00 +02:00
committed by Andrew Chen
parent 290e77988f
commit 34693b50c9
6 changed files with 26 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@
<link rel="stylesheet" type="text/css" href="/css/jquery-ui.min.css">
<link rel="stylesheet" type="text/css" href="/css/sweetalert.css">
<link rel="stylesheet" type="text/css" href="/css/callouts.css">
{% if page.deprecated %}<link rel="stylesheet" type="text/css" href="/css/deprecation-warning.css">{% endif %}
{% if page.class == "gridPage" %}<link rel="stylesheet" type="text/css" href="/css/gridpage.css">{% endif %}
{% if page.css %}<link rel="stylesheet" type="text/css" href="{{ page.css }}"><!-- custom css added -->{% else %}<!-- no custom css detected -->{% endif %}