diff --git a/.circleci/config.yml b/.circleci/config.yml index ac3cbfaa9a0..72eb3d770ab 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -64,7 +64,7 @@ jobs: - run: name: Check for missing index.html (build errors) command: | - if [ ! -f build/react-native/index.html ]; then + if [ ! -f build/index.html ]; then exit 1; fi # -------------------------------------------------- diff --git a/.gitignore b/.gitignore index 5d4acae64f8..e4401005a3f 100644 --- a/.gitignore +++ b/.gitignore @@ -13,5 +13,6 @@ website/i18n/* !website/i18n/en.json .nvmrc +.docusaurus website/scripts/sync-api-docs/generatedComponentApiDocs.js website/scripts/sync-api-docs/extracted.json diff --git a/docs/activityindicator.md b/docs/activityindicator.md index 60bf224adb6..212a9aaee99 100644 --- a/docs/activityindicator.md +++ b/docs/activityindicator.md @@ -108,9 +108,9 @@ Whether to show the indicator (`true`) or hide it (`false`). The foreground color of the spinner. -| Type | Default | -| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [color](colors) | `null` (system accent default color)
Android

`'#999999'`
iOS
| +| Type | Default | +| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [color](colors) | `null` (system accent default color)
Android

`'#999999'`
iOS
| --- diff --git a/docs/alertios.md b/docs/alertios.md index 3113eacacc9..e338397bbd6 100644 --- a/docs/alertios.md +++ b/docs/alertios.md @@ -1,6 +1,6 @@ --- id: alertios -title: 🚧 AlertIOS +title: '🚧 AlertIOS' --- > **Deprecated.** Use [`Alert`](alert) instead. diff --git a/docs/appearance.md b/docs/appearance.md index e55ed2575bb..fc8db3e8a84 100644 --- a/docs/appearance.md +++ b/docs/appearance.md @@ -59,17 +59,13 @@ Indicates the current user preferred color scheme. The value may be updated late Supported color schemes: -| Value | Description | -| --------- | --------------------------------------------------- | -| `"light"` | The user prefers a light color theme. | -| `"dark"` | The user prefers a dark color theme. | -| `null` | The user has not indicated a preferred color theme. | +- `light`: The user prefers a light color theme. +- `dark`: The user prefers a dark color theme. +- null: The user has not indicated a preferred color theme. -> **Note:** `getColorScheme()` will always return `"light"` when debugging with browser. +See also: `useColorScheme` hook. -See also: [`useColorScheme`](usecolorscheme) hook. - ---- +> Note: `getColorScheme()` will always return `light` when debugging with Chrome. ### `addChangeListener()` @@ -79,8 +75,6 @@ static addChangeListener(listener) Add an event handler that is fired when appearance preferences change. ---- - ### `removeChangeListener()` ```jsx diff --git a/docs/appregistry.md b/docs/appregistry.md index 1732520b6d8..05c33c3495c 100644 --- a/docs/appregistry.md +++ b/docs/appregistry.md @@ -3,7 +3,7 @@ id: appregistry title: AppRegistry --- -