Skip to content

Commit 5252fe1

Browse files
first group of additions to the Vale linter, first pass of cleanup (#1106)
* first group of additions to the Vale linter, first pass of cleanup * add one more fix Signed-off-by: sanscontext <[email protected]> * small cleanup, add some names * more cleanup * apparently we don't like keeping it simple stupid, so decap * add blocklist/allowlist * added segment style and started a substitution list. * add we're, test, move some rejects into subs * hide lorem from vale, fix message * some legibility cleanup * add eg/ie subs * yay! Co-authored-by: markzegarelli <[email protected]>
1 parent 341904c commit 5252fe1

File tree

74 files changed

+270
-180
lines changed

Some content is hidden

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

74 files changed

+270
-180
lines changed

.vale.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
StylesPath = vale-styles
22

3-
Vocab = blog
3+
Vocab = Docs
44

55
[*.md]
6-
BasedOnStyles = Vale, write-good
6+
BasedOnStyles = write-good, Segment

src/_data/catalog/destinations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11445,7 +11445,7 @@ items:
1144511445
server: true
1144611446
previous_names:
1144711447
- Iterable
11448-
- display_name: KISSmetrics
11448+
- display_name: Kissmetrics
1144911449
slug: kissmetrics
1145011450
name: catalog/destinations/kissmetrics
1145111451
description: >-
@@ -11520,7 +11520,7 @@ items:
1152011520
mobile: true
1152111521
server: true
1152211522
previous_names:
11523-
- KISSmetrics
11523+
- Kissmetrics
1152411524
- display_name: Kahuna
1152511525
slug: kahuna
1152611526
name: catalog/destinations/kahuna

src/_includes/components/code-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: code-example
33
---
44

5-
{:title="JavaScript"}
5+
{:title="Javascript"}
66
```js
77
var example = document.querySelectorAll('.example');
88
```

src/_includes/content/whats-a-destination.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Destinations are business tools or apps that you can connect to the data flowing through Segment. Some of our most popular destinations are Google Analytics, Mixpanel, KISSmetrics, Customer.io, Intercom, and KeenIO.
1+
Destinations are business tools or apps that you can connect to the data flowing through Segment. Some of our most popular destinations are Google Analytics, Mixpanel, Kissmetrics, Customer.io, Intercom, and KeenIO.
22

33
All of these tools run on the same data: who are your customers and what are they doing? But each tool requires that you send that data in a slightly different format, which means that you'd have to write code to track all of this information, again and again, for each tool, on each page of your app or website.
44

src/_includes/content/whats-a-source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ In Segment, you create a source (or more than one!) for each website or app you
33
Sources belong to a workspace, and the URL for a source looks something like this:
44
`https://segment.com/<my-workspace>/sources/<my-source-name>/`
55

6-
You can create new sources using the button in the workspace view. Each source you create has a write key, which is used to send data to that source. For example, to load [`analytics.js`, the Segment JavaScript library](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/) on your page, the snippet on the [Quickstart Guide](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/quickstart/) includes:
6+
You can create new sources using the button in the workspace view. Each source you create has a write key, which is used to send data to that source. For example, to load [`analytics.js`, the Segment Javascript library](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/) on your page, the snippet on the [Quickstart Guide](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/quickstart/) includes:
77

88
```js
99
analytics.load("YOUR_WRITE_KEY");

src/connections/destinations/catalog/adobe-analytics/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Adobe Analytics has a real-time reporting feature which displays web page traffi
6464

6565
Device-mode web data is sent using Analytics.js, with Analytics.js either serving as a wrapper/bundle around the Adobe Analytics code, or sending directly to Segment servers where the data is then sent on to the Adobe destination.
6666

67-
Our Adobe Analytics device-mode destination code is open sourced on Github. Feel free to check it out:
67+
Our Adobe Analytics device-mode destination code is open sourced on GitHub. Feel free to check it out:
6868
[iOS](https://github.com/segment-integrations/analytics-ios-integration-adobe-analytics),
6969
[Android](https://github.com/segment-integrations/analytics-android-integration-adobe-analytics) and
7070
[JS](https://github.com/segmentio/analytics.js-integrations/tree/master/integrations/adobe-analytics).

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ platform for your web and mobile apps. By analyzing the actions your users
88
perform, you can gain a better understanding to drive retention, engagement,
99
and conversion.
1010

11-
Our Amplitude destination code is open sourced on Github. Feel free to check it
11+
Our Amplitude destination code is open sourced on GitHub. Feel free to check it
1212
out:
1313
[iOS](https://github.com/segment-integrations/analytics-ios-integration-amplitude),
1414
[Android](https://github.com/segment-integrations/analytics-android-integration-amplitude) and

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This document was last updated on April 27, 2018. If you notice any gaps, outdat
1313
1. From your Segment UI's Destinations page click on "Add Destination".
1414
2. Search for "AppsFlyer" within the Destinations Catalog and confirm the Source you'd like to connect to.
1515
3. Drop in your `AppsFlyer Dev Key`, which can be retrieved from the App Settings section of your AppsFlyer account.
16-
4. Follow the instructions in the Github repos: [iOS SDK](https://github.com/AppsFlyerSDK/segment-appsflyer-ios) and [Android SDK](https://github.com/AppsFlyerSDK/AppsFlyer-Segment-Integration).
16+
4. Follow the instructions in the GitHub repos: [iOS SDK](https://github.com/AppsFlyerSDK/segment-appsflyer-ios) and [Android SDK](https://github.com/AppsFlyerSDK/AppsFlyer-Segment-Integration).
1717
5. After you build and release to the app store, we start translating and sending your data to AppsFlyer automatically.
1818

1919
**Important:** If you plan on using the server-side destination for an Android project, make sure to enter your **Android App ID**. If you are using only the mobile SDK, Android projects only require the **AppsFlyer Dev Key**. iOS projects always require both the **AppsFlyer Dev Key** and the **Apple App ID**. Also, note that if you do use the server-side destination, you will not be able to selectively disable calls sent to AppsFlyer using your Segment dashboard.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Batch Destination
33
beta: true
44
---
55

6-
The Batch.com integration code is open sourced on Github. Feel free to check it out: [iOS](https://github.com/BatchLabs/ios-segment-integration), [Android](https://github.com/BatchLabs/android-segment-integration).
6+
The Batch.com integration code is open sourced on GitHub. Feel free to check it out: [iOS](https://github.com/BatchLabs/ios-segment-integration), [Android](https://github.com/BatchLabs/android-segment-integration).
77

88
## Getting Started
99

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ beta: true
55

66
Boomtrain is a predictive intelligence platform for marketers that uses machine learning to drive increased clicks, engagement and revenue through customer communications. [Visit Website](http://boomtrain.com).
77

8-
The Boomtrain destination with Segment supports the `identify`, `track` and `page` methods. Our Javascript destination code is open sourced on Github. [Feel free to check it out](https://github.com/boomtrain/segmentio_integration).
8+
The Boomtrain destination with Segment supports the `identify`, `track` and `page` methods. Our Javascript destination code is open sourced on GitHub. [Feel free to check it out](https://github.com/boomtrain/segmentio_integration).
99

1010
## Getting Started
1111

0 commit comments

Comments
 (0)