Browse Source

Some docs polish

@arturi 

Should the code snippet right under the Options header have some kind of introduction as to what it is precisely?
AJvanLoon 6 năm trước cách đây
mục cha
commit
394f74470b
1 tập tin đã thay đổi với 7 bổ sung3 xóa
  1. 7 3
      website/src/docs/instagram.md

+ 7 - 3
website/src/docs/instagram.md

@@ -6,7 +6,7 @@ module: "@uppy/instagram"
 permalink: docs/instagram/
 permalink: docs/instagram/
 ---
 ---
 
 
-The `@uppy/instagram` plugin lets users import files their Instagram account.
+The `@uppy/instagram` plugin lets users import files from their Instagram account.
 
 
 An Uppy Server instance is required for the `@uppy/instagram` plugin to work. Uppy Server handles authentication with Instagram, downloads the pictures and videos, and uploads them to the destination. This saves the user bandwidth, especially helpful if they are on a mobile connection.
 An Uppy Server instance is required for the `@uppy/instagram` plugin to work. Uppy Server handles authentication with Instagram, downloads the pictures and videos, and uploads them to the destination. This saves the user bandwidth, especially helpful if they are on a mobile connection.
 
 
@@ -26,6 +26,8 @@ uppy.use(Instagram, {
 
 
 This plugin is published as the `@uppy/instagram` package.
 This plugin is published as the `@uppy/instagram` package.
 
 
+Install from NPM:
+
 ```shell
 ```shell
 npm install @uppy/instagram
 npm install @uppy/instagram
 ```
 ```
@@ -38,6 +40,8 @@ const Instagram = Uppy.Instagram
 
 
 ## Options
 ## Options
 
 
+The Instagram plugin has the following configurable options:
+
 ```js
 ```js
 uppy.use(Instagram, {
 uppy.use(Instagram, {
   target: Dashboard,
   target: Dashboard,
@@ -47,7 +51,7 @@ uppy.use(Instagram, {
 
 
 ### `id: 'Instagram'`
 ### `id: 'Instagram'`
 
 
-A unique identifier for this plugin. Defaults to `'Instagram'`.
+A unique identifier for this plugin. It defaults to `'Instagram'`.
 
 
 ### `target: null`
 ### `target: null`
 
 
@@ -67,7 +71,7 @@ The valid and authorised URL(s) from which OAuth responses should be accepted.
 
 
 This value can be a `String`, a `Regex` pattern, or an `Array` of both.
 This value can be a `String`, a `Regex` pattern, or an `Array` of both.
 
 
-This is useful when you have your [Uppy Server](/docs/server) running on multiple hosts. Otherwise the default value should be good enough.
+This is useful when you have your [Uppy Server](/docs/server) running on multiple hosts. Otherwise, the default value should be good enough.
 
 
 ### `locale: {}`
 ### `locale: {}`