Skip to content

Commit b415cfb

Browse files
author
markzegarelli
authored
add support for a deprecated: true flag (#4290)
1 parent 44f493f commit b415cfb

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

src/_includes/content/deprecated.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
## Deprecated
1+
<div class="premonition warning"><div class="fa fa-exclamation-circle"></div><div class="content"><p class="header">This destination is deprecated</p><p>The {{page.title}} is deprecated and no longer available in Segment. Existing implementations will continue to operate unless otherwise communicated.</p>
22

3-
**This guide is no longer maintained by Segment, and is considered deprecated.** The information on this page may be out of date, and we recommend using guides maintained by the tool or partner organization.
3+
4+
</div></div>

src/_layouts/destination.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@
44
<div class="markdown">
55

66

7-
{% if page.hide-dossier != true %}
7+
{% if page.hide-dossier != true %}
88
{% capture destination-dossier %}{% include content/destination-dossier.html %}{% endcapture %}
9-
109
{{destination-dossier | markdownify}}
1110

1211
{% endif %}
1312

13+
{% if page.deprecated == true %}
14+
{% capture deprecation-note %}{% include content/deprecated.md %}{% endcapture %}
15+
{{deprecation-note | markdownify}}
16+
{% endif %}
17+
1418
{% if page.versions %}
1519
{% include content/actions-classic.md %}
1620

src/connections/destinations/catalog/hull/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
title: Hull Destination
33
id: 5728ed9c80412f644ff132d9
4+
hidden: true
5+
deprecated: true
6+
hide-dossier: true
47
---
5-
> warning "Hull Deprecation"
6-
> Hull was deprecated on December 31, 2022 and the Segment Hull destination is no longer operational. For more information, see [Hull documentation](https://www.hull.io/faq/){:target="_blank"}.
8+
79

810
Hull is the one place to collect, transform, enrich, filter, search and segment customer data in all your tools.
911

src/connections/destinations/catalog/promoter-io/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
title: Promoter Destination
33
id: 55b6983e0a20f4e22f0fb3da
4+
deprecated: true
5+
hidden: true
6+
hide-dossier: true
47
---
58

6-
> warning "Promoter.io Deprecation"
7-
> The Promoter.io product was deprecated on January 31, 2023. The Segment Promoter Destination is no longer operational.
89

910
## Getting Started
1011

0 commit comments

Comments
 (0)