Skip to content

Commit e21582a

Browse files
authored
Merge pull request #122 from segmentio/repo-sync
repo sync
2 parents 0283764 + b27f1d7 commit e21582a

File tree

227 files changed

+698
-729
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+698
-729
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ defaults:
4242

4343
collections:
4444
release_notes:
45-
output: true
45+
output: false
4646
permalink: /:collection/:name
4747

4848
plugins_dir: ./_plugins

lychee.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ headers = []
5050
### Exclusions
5151
###
5252
# Exclude URLs from checking (supports regex)
53-
exclude = ['https://ajs.cd.segment.com/analytics.js/v1/','http://0.0.0.0:4000','https://api.segment.io/v1/', 'https://segment.com/docs/assets/docs.bundle.js','https://www.linkedin.com', 'https://segment.com/jobs/', 'https://segment.com/press/', 'https://github.com/segmentio', 'https://unpkg.com/@segment/[email protected]/standalone/consent-manager.js', '(segment.com)', '(segmentapis.com)', '(example.com)', '(schema.org)','(maxcdn)']
53+
exclude = ['(acme.com)','(webhooks.company.com)','(your-webhook-url)','https://segment.zendesk.com','(example-service)','(redacted)','(foo)','http://dl.bintray.com/swrve-inc/android','https://ajs.cd.segment.com/analytics.js/v1/','http://0.0.0.0:4000','https://api.segment.io/v1/', 'https://segment.com/docs/assets/docs.bundle.js','https://www.linkedin.com', 'https://segment.com/jobs/', 'https://segment.com/press/', 'https://github.com/segmentio', 'https://unpkg.com/@segment/[email protected]/standalone/consent-manager.js', '(segment.com)', '(segmentapis.com)', '(example.com)', '(schema.org)','(maxcdn)', '(your-org-name)', '(mywebsite)']
5454

5555
# Exclude URLs contained in a file from checking
5656
exclude_file = []

src/_includes/content/ajs-upgrade.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div class="premonition success"><div class="fa fa-check-square"></div><div class="content"><p class="header">Upgrade to Analytics.js 2.0</p>
2+
<p markdown=1>Actions-based destinations require features found in [Analytics.js 2.0](/docs/connections/sources/catalog/libraries/website/javascript/). [Upgrade your Analytics.js](/docs/connections/sources/catalog/libraries/website/javascript/upgrade-to-ajs2/) source to take advantage of Actions-based destinations, performance improvements, and more.</p>
3+
</div></div>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{% capture name %}{{page.title | replace: 'Destination', ''}}{% endcapture %}
2+
{% capture link %}/docs/connections/destinations/catalog/actions-{{name | slugify}}{% endcapture %}
3+
{% if page.maintenance-content %}
4+
{% capture blurb %}{{page.maintenance-content}} {% endcapture %}
5+
{% else %}
6+
{% capture blurb %}A new version of this destination is available. See [{{name}} (Actions)]({{link}}) {% endcapture %}
7+
{% endif %}
8+
9+
<div class="premonition warning"><div class="fa fa-check-square"></div><div class="content"><p class="header">{{page.title | replace: 'Destination', ''}} (Classic) is in Maintenance mode</p>
10+
<p markdown=1>The {{name}} (Classic) Destination has entered maintenance mode. Future updates are limited to security updates and bug fixes. {{blurb}}</p>
11+
</div></div>

src/_includes/menu/menu-mobile.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
</a>
1919
</li>
2020

21-
<li class="menu-item">
21+
<!-- <li class="menu-item">
2222
<a class="menu-item__link menu-item__link--highlight menu-item__link--icon flex flex--middle" href="{{ site.baseurl }}/release-notes/">
2323
<div class="menu-item__icon flex__column">
2424
{% include icons/megaphone.svg %}
2525
</div>
2626
2727
<div class="flex__column">Release Notes</div>
2828
</a>
29-
</li>
29+
</li> -->
3030
</ul>
3131
</nav>
3232
</div>

src/_includes/menu/menu.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
</a>
2727
</li>
2828

29-
<li class="menu-item {% if currentPage == "release-notes" %}menu-item--active{% endif %}">
29+
<!-- <li class="menu-item {% if currentPage == "release-notes" %}menu-item--active{% endif %}">
3030
<a class="menu-item__link menu-item__link--highlight menu-item__link--icon flex flex--middle" href="{{ site.baseurl }}/release-notes/">
3131
<div class="menu-item__icon flex__column">
3232
{% include icons/megaphone.svg %}
3333
</div>
3434
3535
<div class="flex__column">Release Notes</div>
3636
</a>
37-
</li>
37+
</li> -->
3838

3939
<li class="menu-item menu-item--separated">
4040
<a class="menu-item__link menu-item__link--small menu-item__link--highlight" href="https://segment.com/">Back to Segment.com</a>

src/_layouts/destination.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
{{ destination-dossier | markdownify }}
99
{% endunless %}
1010

11+
{% if page.maintenance == true %}
12+
{% capture maintenance-mode %}{% include content/destination-maintenance.md %}{% endcapture %}
13+
{{maintenance-mode | markdownify}}
14+
{% endif %}
15+
1116
{{ content }}
1217

1318
{% unless page.hide-boilerplate == true %}

src/connections/destinations/actions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ You can also choose which event types, event names, or event property values tri
1414

1515
Each Actions-framework Destination you see in the Segment catalog represents a feature or capability of the destination which can consume data from your Segment source. The Action clearly lists which data from the events it requires, and which data is optional. For example, Amplitude requires that you always send a `LogEvent` , or Slack always requires a `PostMessage`. Each Action also includes a default mapping which you can modify.
1616

17+
{% include content/ajs-upgrade.md %}
18+
19+
1720
## Benefits of Destination Actions
1821

1922
- **Easier setup**: Users see fewer initial settings which can decrease the time spent configuring the destination.
@@ -76,6 +79,9 @@ To set up a new Actions-framework destination for the first time:
7679

7780
## Migrate a classic destination to an actions-based destination
7881

82+
{% include content/ajs-upgrade.md %}
83+
84+
7985
Moving from a classic destination to an actions-based destination is a manual process. Segment recommends that you follow the procedure below:
8086

8187
1. Create the actions-based destination with your development or test source.

src/connections/destinations/catalog/actions-amplitude/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,8 @@ To use Amplitude's groups with Segment, you must enable the following Action set
303303

304304
## Migration from Amplitude Classic
305305

306+
{% include content/ajs-upgrade.md %}
307+
306308
Keep the following in mind if you plan to move to Amplitude (Actions) from a classic Amplitude destination.
307309

308310
### Amplitude (Actions) uses Amplitude's HTTP API v2

src/connections/destinations/catalog/actions-braze-cloud/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ Build your own subscription. Combine the supported [triggers](/docs/connections/
5353
{% include components/actions-fields.html name="braze-cloud" %}
5454

5555
## Migration from Braze Classic
56+
57+
{% include content/ajs-upgrade.md %}
58+
5659
Keep the following in mind if you plan to move to Braze (Actions) from the classic Braze destination.
5760
{% include components/actions-map-table.html name="braze-cloud" %}
5861

0 commit comments

Comments
 (0)