Skip to content

Commit 62d7de1

Browse files
authored
Merge branch 'master' into security-update
2 parents 40e656a + e80a10a commit 62d7de1

File tree

7 files changed

+110
-94
lines changed

7 files changed

+110
-94
lines changed

devguide.md

Lines changed: 11 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

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-26
2+
# destination categories last updated 2020-08-28
33
items:
44
- display_name: Email Marketing
55
slug: email-marketing

0 commit comments

Comments
 (0)