Skip to content

Commit e8df161

Browse files
author
Nathan Totten
committed
Moved 'clientid' articles into connections. Moved a few appliance articles.
1 parent 99f0845 commit e8df161

39 files changed

+156
-6
lines changed
File renamed without changes.

articles/appliance.md renamed to articles/appliance/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ In this section:
44

55
- [Configuring time synchronization](@@env.BASE_URL@@/appliance/clock)
66
- [Updating an Auth0 cluster](@@env.BASE_URL@@/appliance/update)
7-
- [Checking integrity of an update package](@@env.BASE_URL@@/checksum)
7+
- [Checking integrity of an update package](@@env.BASE_URL@@/appliance/checksum)
88
- [Auth0 Proxy Updater](@@env.BASE_URL@@/appliance/proxy-updater)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

redirect-urls.json

+145-1
Original file line numberDiff line numberDiff line change
@@ -150,5 +150,149 @@
150150
{
151151
"from": "/sharepoint-apps",
152152
"to": "/integrations/sharepoint-apps"
153+
},
154+
{
155+
"from": "/ad",
156+
"to": "/connections/ad"
157+
},
158+
{
159+
"from": "/adfs",
160+
"to": "/connections/adfs"
161+
},
162+
{
163+
"from": "/37signals-clientid",
164+
"to": "/connections/37signals"
165+
},
166+
{
167+
"from": "/amazon-clientid",
168+
"to": "/connections/amazon"
169+
},
170+
{
171+
"from": "/aol-clientid",
172+
"to": "/connections/aol"
173+
},
174+
{
175+
"from": "/dwolla-clientid",
176+
"to": "/connections/dwolla"
177+
},
178+
{
179+
"from": "/baidu-clientid",
180+
"to": "/connections/baidu"
181+
},
182+
{
183+
"from": "/box-clientid",
184+
"to": "/connections/box"
185+
},
186+
{
187+
"from": "/evernote-clientid",
188+
"to": "/connections/evernote"
189+
},
190+
{
191+
"from": "/exact-clientid",
192+
"to": "/connections/exact"
193+
},
194+
{
195+
"from": "/facebook-clientid",
196+
"to": "/connections/facebook"
197+
},
198+
{
199+
"from": "/fitbit-clientid",
200+
"to": "/connections/fitbit"
201+
},
202+
{
203+
"from": "/github-clientid",
204+
"to": "/connections/github"
205+
},
206+
{
207+
"from": "/goodreads-clientid",
208+
"to": "/connections/goodreads"
209+
},
210+
{
211+
"from": "/goog-clientid",
212+
"to": "/connections/google"
213+
},
214+
{
215+
"from": "/miicard-clientid",
216+
"to": "/connections/miicard"
217+
},
218+
{
219+
"from": "/ms-account-clientid",
220+
"to": "/connections/microsoft-account"
221+
},
222+
{
223+
"from": "/o365-clientid",
224+
"to": "/connections/o365-deprecated"
225+
},
226+
{
227+
"from": "/paypal-clientid",
228+
"to": "/connections/paypal"
229+
},
230+
{
231+
"from": "/planningcenter-clientid",
232+
"to": "/connections/planning-center"
233+
},
234+
{
235+
"from": "/salesforce-clientid",
236+
"to": "/connections/salesforce"
237+
},
238+
{
239+
"from": "/renren-clientid",
240+
"to": "/connections/renren"
241+
},
242+
{
243+
"from": "/sharepoint-clientid",
244+
"to": "/connections/sharepoint-online"
245+
},
246+
{
247+
"from": "/shopify-clientid",
248+
"to": "/connections/shopify"
249+
},
250+
{
251+
"from": "/soundcloud-clientid",
252+
"to": "/connections/soundcloud"
253+
},
254+
{
255+
"from": "/thecity-clientid",
256+
"to": "/connections/thecity"
257+
},
258+
{
259+
"from": "/twitter-clientid",
260+
"to": "/connections/twitter"
261+
},
262+
{
263+
"from": "/vkontakte-clientid",
264+
"to": "/connections/vkontakte"
265+
},
266+
{
267+
"from": "/waad-clientid",
268+
"to": "/connections/azure-active-directory"
269+
},
270+
{
271+
"from": "/weibo-clientid",
272+
"to": "/connections/weibo"
273+
},
274+
{
275+
"from": "/wordpress-clientid",
276+
"to": "/connections/wordpress"
277+
},
278+
{
279+
"from": "/yahoo-clientid",
280+
"to": "/connections/yahoo"
281+
},
282+
{
283+
"from": "/yandex-clientid",
284+
"to": "/connections/yandex"
285+
},
286+
{
287+
"from": "/instagram-clientid",
288+
"to": "/connections/instagram"
289+
},
290+
{
291+
"from": "/linkedin-clientid",
292+
"to": "/connections/linkedin"
293+
},
294+
{
295+
"from": "/checksum",
296+
"to": "/appliance/checksum"
153297
}
154-
]
298+
]

tools.js

+10-4
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,19 @@ program
2222
.version('0.0.1')
2323

2424

25-
.command('mv <oldPath> <newPath>')
26-
.action(function (oldPath, newPath) {
25+
.command('mv <oldUrl> <newUrl>')
26+
.action(function (oldUrl, newUrl) {
27+
if (oldUrl[0] !== '/') {
28+
oldUrl = '/' + oldUrl;
29+
}
30+
if (newUrl[0] !== '/') {
31+
newUrl = '/' + newUrl;
32+
}
33+
var oldPath = 'articles' + oldUrl + '.md';
34+
var newPath = 'articles' + newUrl + '.md';
2735
fs.rename(oldPath, newPath, function(err) {
2836
if (err) { return console.error(err); }
2937

30-
var oldUrl = oldPath.replace('articles', '').replace('.md', '');
31-
var newUrl = newPath.replace('articles', '').replace('.md', '');
3238
addRedirect(oldUrl, newUrl, function(err) {
3339
if (err) { return console.error(err); }
3440

0 commit comments

Comments
 (0)