From a39496fa3ad6f8c983eeda1fe03eeae12a234698 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Thu, 4 Mar 2021 17:03:07 +0100 Subject: [PATCH] Fix .md links --- CONTRIBUTING.md | 13 ------------- docs/docs/DEVICES.mdx | 2 +- docs/docs/FORMATS.mdx | 4 ++-- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1a0e2ad..3461bf9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,16 +1,3 @@ - - - - - - - - - -
README.mdANIMATED.mdDEVICES.mdFORMATS.mdERRORS.mdCONTRIBUTING.md
- -
- # Contributing ## Guidelines diff --git a/docs/docs/DEVICES.mdx b/docs/docs/DEVICES.mdx index cdf49ec..537fc75 100644 --- a/docs/docs/DEVICES.mdx +++ b/docs/docs/DEVICES.mdx @@ -54,7 +54,7 @@ console.log(deviceType) // --> "triple-camera" ``` -The `CameraDevice` type also contains other useful information describing a camera device, such as `position` ("front", "back", ...), `hasFlash`, it's `formats` (See [Camera Formats](./FORMATS.md)), and more. +The `CameraDevice` type also contains other useful information describing a camera device, such as `position` ("front", "back", ...), `hasFlash`, it's `formats` (See [Camera Formats](formats)), and more. :::caution Make sure to be careful when filtering out unneeded camera devices, since not every phone supports all camera device types. Some phones don't even have front-cameras. You always want to have a camera device, even when it's not the one that has the best features. diff --git a/docs/docs/FORMATS.mdx b/docs/docs/FORMATS.mdx index aff2b10..a314d5e 100644 --- a/docs/docs/FORMATS.mdx +++ b/docs/docs/FORMATS.mdx @@ -12,7 +12,7 @@ import useBaseUrl from '@docusaurus/useBaseUrl'; ### What are camera formats? -Each camera device (see [Camera Devices](./DEVICES.md)) provides a number of capture formats that have different specifications. There are formats specifically designed for high-resolution photo capture, which have very high photo output quality but in return only support frame-rates of up to 30 FPS. On the other side, there might be formats that are designed for slow-motion video capture which have frame-rates up to 240 FPS. +Each camera device (see [Camera Devices](devices)) provides a number of capture formats that have different specifications. There are formats specifically designed for high-resolution photo capture, which have very high photo output quality but in return only support frame-rates of up to 30 FPS. On the other side, there might be formats that are designed for slow-motion video capture which have frame-rates up to 240 FPS. ### What if I don't want to choose a format? @@ -54,7 +54,7 @@ To understand a bit more about camera formats, you first need to understand a fe Each application has different needs, so the format filtering is up to you. -To get all available formats, simply use the `CameraDevice`'s `.formats` property. See how to get a camera device in the [DEVICES.md](./DEVICES.md) doc. +To get all available formats, simply use the `CameraDevice`'s `.formats` property. See how to get a camera device in the [Camera Devices guide](devices). :::note You can also manually get all camera devices and decide which device to use based on the available `formats`. In fact, this is how we do it in the [Cuvent](https://cuvent.com) app.