Explorar el Código

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 hace 6 años
padre
commit
f676e52ca0
Se han modificado 1 ficheros con 6 adiciones y 2 borrados
  1. 6 2
      website/src/docs/google-drive.md

+ 6 - 2
website/src/docs/google-drive.md

@@ -24,6 +24,8 @@ uppy.use(GoogleDrive, {
 
 
 This plugin is published as the `@uppy/google-drive` package.
 This plugin is published as the `@uppy/google-drive` package.
 
 
+Install from NPM:
+
 ```shell
 ```shell
 npm install @uppy/google-drive
 npm install @uppy/google-drive
 ```
 ```
@@ -36,6 +38,8 @@ const GoogleDrive = Uppy.GoogleDrive
 
 
 ## Options
 ## Options
 
 
+The Google Drive plugin has the following configurable options:
+
 ```js
 ```js
 uppy.use(GoogleDrive, {
 uppy.use(GoogleDrive, {
   target: Dashboard,
   target: Dashboard,
@@ -45,7 +49,7 @@ uppy.use(GoogleDrive, {
 
 
 ### `id: 'GoogleDrive'`
 ### `id: 'GoogleDrive'`
 
 
-A unique identifier for this plugin. Defaults to `'GoogleDrive'`.
+A unique identifier for this plugin. It defaults to `'GoogleDrive'`.
 
 
 ### `target: null`
 ### `target: null`
 
 
@@ -65,7 +69,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: {}`