Skip to content

Commit eebf5f8

Browse files
markzegarellistayseesongedwarduptonbot-docsteammuhammadatifjav
authored
Release 22.38.1 (#3566)
* [netlify-build] * Update index.md * remove escape character * adds FAQ to Source Function docs about GET requests * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review * Update source-functions.md * Update source-functions.md * Fix TikTok Conversions Link #3550 [netlify-build] * Apply suggestions from code review * Apply suggestions from code review * Add Channels Billing Info DOC-580 * Fix Server Debugger Typo #3558 * Engage ga (#590) * Account-audiences article * Debugger * ID Res eComm example * Audiences Overview * Computed Traits * Identity Resolution Overview * Identity Resolution Onboarding * Profiles Space Setup * ID Resolution Settings * Journeys Key Terms * Engage GDPR * ID Res use cases * Nav stubs * Build a Journey * Audiences and space setup updates * Journeys FAQ Best Practices * Update computed traits location * Send Data * product limits * Sql traits * add example csv files * Using Engage Data * Engage and Warehouses * Profile API * Audiene Organization * Quickstart * FAQs * Journeys use cases * Remove Personas screenshot * Journeys Logic * Journeys Overview and Warehouses update * Profiles External IDs * Space setup nav update * use standard layout * Use standard search, refactor overview * Profile API fixes * Fixing profiles nav * Match user_id value with screenshot * Use Cases cleanup * CSV Uploader updates * Deep clean * move CSV upload * Engage Intro and Identity Warehouse * Link and nav fixes * forgot to save this one * Remove Essentials limits * Update nav * More nav updates * More nav updates * Plan Grid work to support Engage SKUs * Add Profile API Limits to nav * replacing instances * Add plan details as metadata * Personas replacements * Personas replacements * Add recent externalID updates to Engage branch * Move journey analytics * and add it to the nav * remove old layout * hide empty docs from nav * Minor email and SMS template edits * CSV upload navigation updates * file and nav cleanup * Hide internal logo * RIP Personas * link fixes * Hide empty articles * quickstart in the nav * Update Engage icon and blurb link * Profiles Overview * Update Engage blurb * Update Engage blurb * get onboard * FAQs split * Add Onboarding Redirect * Add Channels product limit * Profiles GDPR * Profiles Quickstart split * Add Engage Settings Content * Add split content to sidenav * fixed broken links * Beta check and unpublish contact page * Quickstart updates * Remove Engage Support References * Hide Engage Settings Pages * Update instance of Engage Pro to Premier and link fixes * Relink images * additional link fixes * Add Journeys Step Types Page [DOC-587] (#589) * Add Journeys Step Types Page DOC-587 * Vale Sentence Case Fixes DOC-587 * Update Journey Re-entry FAQ Co-authored-by: rchinn-segment <[email protected]> Co-authored-by: pwseg <[email protected]> Co-authored-by: pwseg <[email protected]> * Hidden sources should be hidden (#3565) * [netlify-build] * [netlify-build] * Update destination filters screenshot * Update src/connections/destinations/catalog/actions-mixpanel/index.md Co-authored-by: markzegarelli <[email protected]> * Remove old images [netlify-build] * catalog update * Update file links and images [netlify-build] * Azure doc updates (#3562) * initial changes * removing warnings * adding images * Small fixes * removing the redundant point * Apply suggestions from code review Co-authored-by: markzegarelli <[email protected]> Co-authored-by: Hitisha Damani <[email protected]> Co-authored-by: hrdamani <[email protected]> Co-authored-by: stayseesong <[email protected]> Co-authored-by: Edward Upton <[email protected]> Co-authored-by: Segment Docs Robot <[email protected]> Co-authored-by: Atif Javed <[email protected]> Co-authored-by: stayseesong <[email protected]> Co-authored-by: pwseg <[email protected]> Co-authored-by: pwseg <[email protected]> Co-authored-by: rchinn-segment <[email protected]> Co-authored-by: rchinn-segment <[email protected]> Co-authored-by: Hitisha Damani <[email protected]> Co-authored-by: hrdamani <[email protected]>
1 parent 9e364b8 commit eebf5f8

File tree

366 files changed

+2226
-3998
lines changed

Some content is hidden

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

366 files changed

+2226
-3998
lines changed

.github/styles/Vocab/Docs/accept.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
(?:R|r)emarketing
1515
(?:U|u)nlinks?\b
1616
(?:U|u)nmaps?\b
17+
(?:U|u)ploader
1718
(?:U|u)rls?\b
1819
adset
1920
Adwords
@@ -38,10 +39,12 @@ Cocoapods
3839
Contentful
3940
Criteo
4041
csv
42+
Databricks
4143
datetime
4244
deeplink
4345
Dev
4446
Doubleclick
47+
enablement
4548
endcapture
4649
endfor
4750
endif
@@ -81,6 +84,7 @@ Mailmodo
8184
markdownify
8285
Marketo
8386
Matcha
87+
matchers
8488
measurability
8589
middleware
8690
Middleware
@@ -94,8 +98,10 @@ Optimizely
9498
param(:?s)
9599
Pardot
96100
performant
101+
Pinterest
97102
Preact
98103
Qualtrics
104+
Responsys
99105
Rokt
100106
Selligent
101107
Sendgrid

Gemfile.lock

100644100755
File mode changed.

js/algolia/index.js

Lines changed: 0 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const algoliaInsightsPlugin = createAlgoliaInsightsPlugin({ insightsClient });
2424

2525
// define locations to separate invocation for mobile and desktop
2626
const locations = ['#autocomplete','#autocomplete-mobile'];
27-
const engage_locations = ['#engage-autocomplete']
2827

2928
function initAutocomplete(item){
3029
const search = autocomplete({
@@ -106,90 +105,4 @@ function initAutocomplete(item){
106105

107106
}
108107

109-
function initEngageAutocomplete(item){
110-
const search = autocomplete({
111-
container: item,
112-
placeholder: "Search the Twilio Engage documentation",
113-
debug: false,
114-
openOnFocus: false,
115-
keyboardShortcuts: ['s', 191],
116-
plugins: [algoliaInsightsPlugin,],
117-
detachedMediaQuery:'none',
118-
getSources( {query} ) {
119-
return [
120-
{
121-
sourceId: 'articles',
122-
getItemUrl({ item }){
123-
if (item.anchor != null) {
124-
var itemUrl = '/docs'+item.url+"#" + item.anchor;
125-
} else {
126-
var itemUrl = '/docs'+item.url;
127-
}
128-
return itemUrl;
129-
},
130-
getItems() {
131-
return getAlgoliaResults({
132-
searchClient,
133-
queries: [
134-
{
135-
indexName: 'segment-docs',
136-
query,
137-
params: {
138-
hitsPerPage: 7,
139-
facetFilters: ['hidden:-true'],
140-
clickAnalytics: true,
141-
},
142-
},
143-
],
144-
});
145-
},
146-
templates: {
147-
item({ item, createElement }){
148-
if (item.anchor != null) {
149-
var anchorLink = "#" + item.anchor;
150-
} else {
151-
var anchorLink = "";
152-
}
153-
154-
if (item.engage){
155-
var engage = "<span class='engage-pill'>Engage</span>"
156-
}
157-
return createElement('div',{
158-
dangerouslySetInnerHTML: {
159-
__html: `<a class="aa-link" href="/docs${item.url}${anchorLink}">
160-
<p class="aa-title" >${highlightHit({hit: item, attribute: 'title'})} ${engage}</h3>
161-
<p class="aa-content">${highlightHit({hit: item, attribute: 'content'})}</p></a>`
162-
}
163-
})
164-
},
165-
noResults() {
166-
return html `<p class="aa-content">No results for <strong>${query}</strong></p>`;
167-
}
168-
},
169-
170-
},
171-
];
172-
},
173-
navigator: {
174-
navigate({ itemUrl }) {
175-
window.location.assign(itemUrl);
176-
},
177-
navigateNewTab({ itemUrl }) {
178-
const windowReference = window.open(itemUrl, '_blank', 'noopener');
179-
180-
if (windowReference) {
181-
windowReference.focus();
182-
}
183-
},
184-
navigateNewWindow({ itemUrl }) {
185-
window.open(itemUrl, '_blank', 'noopener');
186-
},
187-
},
188-
});
189-
190-
}
191-
if (loc.startsWith("/docs/engage")) {
192-
engage_locations.forEach(initEngageAutocomplete)
193-
} else {
194108
locations.forEach(initAutocomplete);
195-
}

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
ignore = "./scripts/ignore.sh"
1313

1414
[context.branch-deploy]
15-
command = "jekyll algolia && yarn build"
15+
command = "yarn build"
1616
# ignore = "./scripts/ignore.sh"
1717

1818
[context.develop]

scripts/checklinks-internal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const checkForDeadLocalUrls = async () => {
6767
// For ease of checking, replace the localhost domain with the live domain, add those to a new array.
6868
let broke = []
6969
deadUrls.forEach(url => {
70-
link = url.replace('http://localhost:3000', 'https://segment.com/docs')
70+
link = url.replace('http://localhost:3000', 'https://engage-ga--segment-docs-private.netlify.app/docs')
7171
if (!link.endsWith('/')){
7272
link = link+'/'
7373
}
@@ -79,7 +79,7 @@ const checkForDeadLocalUrls = async () => {
7979
// For those, we want to remove them from the list of dead links, because they aren't dead.
8080

8181
// app-nginx redirects
82-
const redirects = ['https://segment.com/docs/guides/usage-and-billing/','https://segment.com/docs/connections/sources/catalog/libraries/website/plugins/', 'https://segment.com/docs/assets/docs.bundle.js/']
82+
const redirects = ['https://engage-ga--segment-docs-private.netlify.app/docs/guides/usage-and-billing/','https://engage-ga--segment-docs-private.netlify.app/docs/connections/sources/catalog/libraries/website/plugins/', 'https://engage-ga--segment-docs-private.netlify.app/docs/assets/docs.bundle.js/']
8383

8484
// Redirects generated by Jekyll
8585
// Pull the redirects json file
@@ -89,7 +89,7 @@ const checkForDeadLocalUrls = async () => {
8989
if (!key.endsWith('/')){
9090
key = key+'/'
9191
}
92-
redirects.push('https://segment.com/docs'+key.replace('/docs',''))
92+
redirects.push('https://engage-ga--segment-docs-private.netlify.app/docs'+key.replace('/docs',''))
9393
})
9494
// Remove the redirect urls from the list of broken URLs
9595
broke = broke.filter(val => !redirects.includes(val));

src/_data/catalog/destination_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination categories last updated 2022-09-22
2+
# destination categories last updated 2022-09-26
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

src/_data/catalog/destinations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination data last updated 2022-09-22
2+
# destination data last updated 2022-09-26
33
items:
44
- id: 60b5d0a01f3726b85dc05aab
55
display_name: 2mee

src/_data/catalog/regional-supported.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED LIST OF CONNECTIONS THAT SUPPORT REGIONAL
2-
# Last updated 2022-09-22
2+
# Last updated 2022-09-26
33
warehouses:
44
- id: WcjBCzUGff
55
display_name: Azure SQL Data Warehouse

src/_data/catalog/source_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# source cateogries last updated 2022-09-22
2+
# source cateogries last updated 2022-09-26
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

src/_data/catalog/sources.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# sources last updated 2022-09-22
2+
# sources last updated 2022-09-26
33
items:
44
- id: 8HWbgPTt3k
55
display_name: .NET

0 commit comments

Comments
 (0)