From 6460a54dd4cc8b62b48b7b13cbb5033866f741ec Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 3 Dec 2021 23:34:02 +0100 Subject: [PATCH] commit remaining doc files that have been auto-changed --- website/src/docs/aws-s3.md | 2 +- website/src/docs/core.md | 2 +- website/src/docs/screen-capture.md | 2 +- website/src/docs/status-bar.md | 1 + website/src/docs/webcam.md | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/website/src/docs/aws-s3.md b/website/src/docs/aws-s3.md index cfbef44c7c..d68e0a6583 100644 --- a/website/src/docs/aws-s3.md +++ b/website/src/docs/aws-s3.md @@ -133,7 +133,7 @@ To allow Uppy to upload directly to a bucket, at least its CORS permissions need CORS permissions can be found in the [S3 Management Console](https://console.aws.amazon.com/s3/home). Click the bucket that will receive the uploads, then go into the `Permissions` tab and select the `CORS configuration` button. -A JSON document will be shown that defines the CORS configuration. (AWS used to use XML but now only allow JSON). More information about the [S3 CORS format here](https://docs.amazonaws.cn/en\_us/AmazonS3/latest/userguide/ManageCorsUsing.html). +A JSON document will be shown that defines the CORS configuration. (AWS used to use XML but now only allow JSON). More information about the [S3 CORS format here](https://docs.amazonaws.cn/en_us/AmazonS3/latest/userguide/ManageCorsUsing.html). A good practice is to use two CORS rules: one for viewing the uploaded files, and one for uploading files. diff --git a/website/src/docs/core.md b/website/src/docs/core.md index 22e41be1fd..9ae564c459 100644 --- a/website/src/docs/core.md +++ b/website/src/docs/core.md @@ -139,7 +139,7 @@ Optionally, provide rules and conditions to limit the type and/or number of file `maxNumberOfFiles` also affects the number of files a user is able to select via the system file dialog in UI plugins like `DragDrop`, `FileInput` and `Dashboard`: when set to `1`, they will only be able to select a single file. When `null` or another number is provided, they will be able to select several files. -`allowedFileTypes` gets passed to the system file dialog via [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#Limiting\_accepted\_file\_types)’s accept attribute, so only files matching these types will be selectable. +`allowedFileTypes` gets passed to the system file dialog via [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#Limiting_accepted_file_types)’s accept attribute, so only files matching these types will be selectable. > If you’d like to force a certain meta field data to be entered before the upload, you can [do so using `onBeforeUpload`](https://github.com/transloadit/uppy/issues/1703#issuecomment-507202561). diff --git a/website/src/docs/screen-capture.md b/website/src/docs/screen-capture.md index 60b1d7fcdf..e9e581adf8 100644 --- a/website/src/docs/screen-capture.md +++ b/website/src/docs/screen-capture.md @@ -10,7 +10,7 @@ tagline: "upload selfies or audio / video recordings" The `@uppy/screen-capture` plugin can record your screen or an application and save it as a video. -> To use the screen capture plugin in a Chromium-based browser, [your site must be served over https](https://developers.google.com/web/updates/2015/10/chrome-47-webrtc#public\_service\_announcements). This restriction does not apply on `localhost`, so you don’t have to jump through many hoops during development. +> To use the screen capture plugin in a Chromium-based browser, [your site must be served over https](https://developers.google.com/web/updates/2015/10/chrome-47-webrtc#public_service_announcements). This restriction does not apply on `localhost`, so you don’t have to jump through many hoops during development. ```js import ScreenCapture from '@uppy/screen-capture' diff --git a/website/src/docs/status-bar.md b/website/src/docs/status-bar.md index 8824489bf5..ad86d0212d 100644 --- a/website/src/docs/status-bar.md +++ b/website/src/docs/status-bar.md @@ -169,6 +169,7 @@ module.exports = { 0: '%{smart_count} more file added', 1: '%{smart_count} more files added', }, + showErrorDetails: 'Show error details', }, } diff --git a/website/src/docs/webcam.md b/website/src/docs/webcam.md index 46814badfb..32866a7c6b 100644 --- a/website/src/docs/webcam.md +++ b/website/src/docs/webcam.md @@ -10,7 +10,7 @@ tagline: "upload selfies or audio / video recordings" The `@uppy/webcam` plugin lets you take photos and record videos with a built-in camera on desktop and mobile devices. -> To use the Webcam plugin in Chrome, [your site must be served over https](https://developers.google.com/web/updates/2015/10/chrome-47-webrtc#public\_service\_announcements). This restriction does not apply on `localhost`, so you don’t have to jump through many hoops during development. +> To use the Webcam plugin in Chrome, [your site must be served over https](https://developers.google.com/web/updates/2015/10/chrome-47-webrtc#public_service_announcements). This restriction does not apply on `localhost`, so you don’t have to jump through many hoops during development. ```js import Webcam from '@uppy/webcam'