From 606f772f43c4247febb198bd978db7eb0cc2e27c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Wed, 20 Sep 2017 11:03:04 +0200 Subject: [PATCH] docs: Spread out doc order numbers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So we don't have to change them all whenever we add a new page. This reserves 10 numbers for each "type" of plugin documentation: - 0-9 · introduction (getting started etc) - 10-19 · plugin meta (only the list right now) - 20-29 · UI plugins - 30-39 · Uploaders - 40-∞ · Other --- website/src/docs/aws-s3.md | 2 +- website/src/docs/dashboard.md | 2 +- website/src/docs/dragdrop.md | 2 +- website/src/docs/golder-retriever.md | 4 ++-- website/src/docs/plugins.md | 4 ++-- website/src/docs/statusbar.md | 2 +- website/src/docs/transloadit.md | 2 +- website/src/docs/tus.md | 2 +- website/src/docs/xhrupload.md | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/website/src/docs/aws-s3.md b/website/src/docs/aws-s3.md index 6bed872be..d6ef0f06e 100644 --- a/website/src/docs/aws-s3.md +++ b/website/src/docs/aws-s3.md @@ -1,6 +1,6 @@ --- type: docs -order: 11 +order: 32 title: "AwsS3" permalink: docs/aws-s3/ --- diff --git a/website/src/docs/dashboard.md b/website/src/docs/dashboard.md index d9f235c8c..f8b535323 100644 --- a/website/src/docs/dashboard.md +++ b/website/src/docs/dashboard.md @@ -1,6 +1,6 @@ --- type: docs -order: 6 +order: 20 title: "Dashboard" permalink: docs/dashboard/ --- diff --git a/website/src/docs/dragdrop.md b/website/src/docs/dragdrop.md index f637c06ef..5abe97980 100644 --- a/website/src/docs/dragdrop.md +++ b/website/src/docs/dragdrop.md @@ -1,6 +1,6 @@ --- type: docs -order: 7 +order: 21 title: "DragDrop" permalink: docs/dragdrop/ --- diff --git a/website/src/docs/golder-retriever.md b/website/src/docs/golder-retriever.md index bed020839..525262ba8 100644 --- a/website/src/docs/golder-retriever.md +++ b/website/src/docs/golder-retriever.md @@ -2,7 +2,7 @@ title: "Golden Retriever" type: docs permalink: docs/golden-retriever/ -order: 15 +order: 40 --- Golden Retriever plugin saves selected files in your browser cache (Local Storage for metadata, then Service Worker for all blobs + IndexedDB for small blobs), so that if the browser crashes, Uppy can restore everything and continue uploading like nothing happened. Read more about it [on the blog](https://uppy.io/blog/2017/07/golden-retriever/). @@ -42,4 +42,4 @@ if ('serviceWorker' in navigator) { console.log('Registration failed with ' + error) }) } -``` \ No newline at end of file +``` diff --git a/website/src/docs/plugins.md b/website/src/docs/plugins.md index b8c732874..a8fe43cb4 100644 --- a/website/src/docs/plugins.md +++ b/website/src/docs/plugins.md @@ -2,7 +2,7 @@ title: "List & Common Options" type: docs permalink: docs/plugins/ -order: 4 +order: 10 --- Plugins are what makes Uppy useful: they help select, manipulate and upload files. @@ -116,7 +116,7 @@ Same as with Uppy.Core’s setting from above, this allows you to override plugi ```js .use(FileInput, { - target: 'body', + target: 'body', locale: { strings: { selectToUpload: 'Выберите файл для загрузки' } } diff --git a/website/src/docs/statusbar.md b/website/src/docs/statusbar.md index 157109b45..a5623846e 100644 --- a/website/src/docs/statusbar.md +++ b/website/src/docs/statusbar.md @@ -1,6 +1,6 @@ --- type: docs -order: 8 +order: 22 title: "StatusBar" permalink: docs/statusbar/ --- diff --git a/website/src/docs/transloadit.md b/website/src/docs/transloadit.md index 6b572665f..1489b9b0f 100644 --- a/website/src/docs/transloadit.md +++ b/website/src/docs/transloadit.md @@ -1,6 +1,6 @@ --- type: docs -order: 10 +order: 33 title: "Transloadit" permalink: docs/transloadit/ --- diff --git a/website/src/docs/tus.md b/website/src/docs/tus.md index 7e977b786..cd59a8350 100644 --- a/website/src/docs/tus.md +++ b/website/src/docs/tus.md @@ -1,6 +1,6 @@ --- type: docs -order: 8 +order: 30 title: "Tus10" permalink: docs/tus/ --- diff --git a/website/src/docs/xhrupload.md b/website/src/docs/xhrupload.md index 4862d17fa..437f96d46 100644 --- a/website/src/docs/xhrupload.md +++ b/website/src/docs/xhrupload.md @@ -1,6 +1,6 @@ --- type: docs -order: 8 +order: 31 title: "XHRUpload" permalink: docs/xhrupload/ ---