Browse Source

docs: Spread out doc order numbers

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
Renée Kooi 7 years ago
parent
commit
606f772f43

+ 1 - 1
website/src/docs/aws-s3.md

@@ -1,6 +1,6 @@
 ---
 type: docs
-order: 11
+order: 32
 title: "AwsS3"
 permalink: docs/aws-s3/
 ---

+ 1 - 1
website/src/docs/dashboard.md

@@ -1,6 +1,6 @@
 ---
 type: docs
-order: 6
+order: 20
 title: "Dashboard"
 permalink: docs/dashboard/
 ---

+ 1 - 1
website/src/docs/dragdrop.md

@@ -1,6 +1,6 @@
 ---
 type: docs
-order: 7
+order: 21
 title: "DragDrop"
 permalink: docs/dragdrop/
 ---

+ 2 - 2
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)
     })
 }
-```
+```

+ 2 - 2
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: 'Выберите файл для загрузки' }
   }

+ 1 - 1
website/src/docs/statusbar.md

@@ -1,6 +1,6 @@
 ---
 type: docs
-order: 8
+order: 22
 title: "StatusBar"
 permalink: docs/statusbar/
 ---

+ 1 - 1
website/src/docs/transloadit.md

@@ -1,6 +1,6 @@
 ---
 type: docs
-order: 10
+order: 33
 title: "Transloadit"
 permalink: docs/transloadit/
 ---

+ 1 - 1
website/src/docs/tus.md

@@ -1,6 +1,6 @@
 ---
 type: docs
-order: 8
+order: 30
 title: "Tus10"
 permalink: docs/tus/
 ---

+ 1 - 1
website/src/docs/xhrupload.md

@@ -1,6 +1,6 @@
 ---
 type: docs
-order: 8
+order: 31
 title: "XHRUpload"
 permalink: docs/xhrupload/
 ---