Skip to content

add support for a deprecated: true flag #4290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/_includes/content/deprecated.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
## Deprecated
<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>

**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.

</div></div>
8 changes: 6 additions & 2 deletions src/_layouts/destination.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@
<div class="markdown">


{% if page.hide-dossier != true %}
{% if page.hide-dossier != true %}
{% capture destination-dossier %}{% include content/destination-dossier.html %}{% endcapture %}

{{destination-dossier | markdownify}}

{% endif %}

{% if page.deprecated == true %}
{% capture deprecation-note %}{% include content/deprecated.md %}{% endcapture %}
{{deprecation-note | markdownify}}
{% endif %}

{% if page.versions %}
{% include content/actions-classic.md %}

Expand Down
6 changes: 4 additions & 2 deletions src/connections/destinations/catalog/hull/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
title: Hull Destination
id: 5728ed9c80412f644ff132d9
hidden: true
deprecated: true
hide-dossier: true
---
> warning "Hull Deprecation"
> 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"}.


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

Expand Down
5 changes: 3 additions & 2 deletions src/connections/destinations/catalog/promoter-io/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
title: Promoter Destination
id: 55b6983e0a20f4e22f0fb3da
deprecated: true
hidden: true
hide-dossier: true
---

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

## Getting Started

Expand Down