Skip to content

Commit afef483

Browse files
authored
Merge branch 'master' into niall/amplitude_group_call
2 parents 05608f9 + 9110f39 commit afef483

File tree

88 files changed

+5265
-1143
lines changed

Some content is hidden

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

88 files changed

+5265
-1143
lines changed

CODEOWNERS

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# The default owners for everything in
22
# the repo. Unless a later match takes precedence.
3-
CODEOWNERS @sanscontext @XavierAgostini @danielstjules @stephment
3+
CODEOWNERS @sanscontext @markzegarelli @nielst @XavierAgostini @danielstjules @stephment
44

55
# Diagram library
66
/diagram-library @sanscontext
77

88
# Utility scripts
9-
/scripts @sanscontext @XavierAgostini
9+
/scripts @sanscontext @bryanmikaelian @XavierAgostini
1010

1111

1212
# Content owners should be in the order of PM, TL (team-lead), and EM (in a crisis) for a given team.
@@ -20,10 +20,8 @@ CODEOWNERS @sanscontext @XavierAgostini @danielstjules @stephment
2020
# Libraries owners
2121
/src/connections/catalog/libraries @osamakhn @bsneed @lubird @pooyaj @juliofarah
2222

23-
2423
# Destination owners
2524
/src/connections/destinations @n2parko @danielstjules @benhorowitz
26-
# temporary removal: @carlosmecha
2725

2826

2927
# Privacy owners

Gemfile.lock

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ GEM
5555
jekyll (>= 3.7, < 5.0)
5656
jekyll-watch (2.2.1)
5757
listen (~> 3.0)
58-
kramdown (2.1.0)
58+
kramdown (2.3.0)
59+
rexml
5960
kramdown-parser-gfm (1.1.0)
6061
kramdown (~> 2.0)
6162
liquid (4.0.3)
@@ -75,6 +76,7 @@ GEM
7576
rb-fsevent (0.10.3)
7677
rb-inotify (0.10.0)
7778
ffi (~> 1.0)
79+
rexml (3.2.4)
7880
rouge (3.13.0)
7981
ruby-enum (0.7.2)
8082
i18n

devguide.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ If using OSX:
2121
* Run server, `make dev`
2222
* Visit http://localhost:4000/docs/
2323

24+
## Changing a DevCenter Destination's name
25+
26+
Occasionally, a destination will change names. This shouldn't be too difficult to handle, but make sure you do the following:
27+
- Change the name of the file **to match destination's new slug**
28+
- Check in the Partner Portal that the name change has appropriately filled out the `previousNames` field. There should be two (or more if this has aliases/many name changes).
29+
- Add a `redirect_from` frontmatter item, with the url of the old doc. This funnels anyone arriving at the old page from a link outside the docs site to the page at the new name.
30+
- Run a `make catalog` to pick up the name change.
31+
- Run `make docs` and test that:
32+
1. The page shows up correctly at the url you specified using the new slug.
33+
2. The programmatic content appears (cmodes, settings, previous names)
34+
3. The redirect from the old page URL works.
2435

2536

2637
## Developer information
@@ -132,3 +143,5 @@ There is as also some manual testing scripts that can be run to validate the bui
132143
3. `tests/imageSizes/getImageSizes.js`: used to get the 10 largest images in the repo.
133144

134145
4. `npx mdspell 'src/**/*.md' -r --en-us`: used to validate spelling in docs, needs to be configured to add Segment terms.
146+
147+
5. Included is the [Hyperlink](https://www.npmjs.com/package/hyperlink) NPM module. Run `bundle install` to install that, plus the tap-spot plugin for pretty output. To check all links on the site, prior to build, run `yarn run hyperlink ./_site/index.html --canonicalroot https://segment.com/docs -i -r --skip 0.0.0.0 | yarn run tap-spot`. This module checks hyper links, images, and anchor tags to ensure that everything linked internally resolves to a location. **TODO**: Add support for external links.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
"ajv": "6.10.2",
4040
"clipboard": "^2.0.6",
4141
"dotenv": "8.2.0",
42+
"hyperlink": "^4.5.2",
43+
"tap-spot": "^1.1.1",
4244
"tippy.js": "^5.2.0",
4345
"typewriter": "7.0.1"
4446
}

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 PLATFORM API. DO NOT EDIT
2-
# destination categories last updated 2020-08-11
2+
# destination categories last updated 2020-08-28
33
items:
44
- display_name: Email Marketing
55
slug: email-marketing

0 commit comments

Comments
 (0)