Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Migrate from docusaurus v1 to v2 #2139

Closed
wants to merge 40 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
d0101cb
remove old versions
darshkpatel Aug 19, 2020
eeb8426
update dependencies
darshkpatel Aug 19, 2020
a16499e
upgrade to v2 config
darshkpatel Aug 19, 2020
bd6c60b
update yarn lock
darshkpatel Aug 19, 2020
a663bc7
Duplicate css to src
darshkpatel Aug 19, 2020
684e70b
update css files
teikjun Aug 19, 2020
a9b85ad
Upgrade blog file for v2
teikjun Aug 19, 2020
ee3957e
upgrade sidebar configs
teikjun Aug 19, 2020
648020b
upgrade sidebar config for v2
teikjun Aug 19, 2020
0fd4f08
Rename and fix errors in 0.60 and 0.61 docs
teikjun Aug 19, 2020
e3d1bce
Rename and fix errors in 0.62 and 0.63 docs
darshkpatel Aug 19, 2020
d214b64
add .docusaurus to gitignore
darshkpatel Aug 19, 2020
1540d38
update circleci config for v2 build path
darshkpatel Aug 19, 2020
7ee05ab
update scripts for v2 paths
darshkpatel Aug 19, 2020
cc39938
WIP: Update netlify config
teikjun Aug 19, 2020
b9f7741
update to root path
darshkpatel Aug 19, 2020
6d1057f
Fix errors in docs
darshkpatel Aug 19, 2020
b13a02b
change folder structure for pages
teikjun Aug 20, 2020
b58c8a7
migrate help, showcase, versions pages
teikjun Aug 20, 2020
66e0223
fix CSS container issue
teikjun Aug 20, 2020
e62211e
Move Assets
darshkpatel Aug 20, 2020
98f8794
Move missing images from blog/assets to static/img/blog
darshkpatel Aug 20, 2020
7779f55
modify path for pages directory + fix errors from pages
teikjun Aug 20, 2020
e8daa60
fix deployment script
teikjun Aug 20, 2020
75b1399
migrate landing page
teikjun Aug 20, 2020
39eded1
migrate css for landing page
teikjun Aug 20, 2020
7a1fc4a
fix css variables
teikjun Aug 21, 2020
7f88fb6
limit scope of css for landing page
teikjun Aug 21, 2020
4f6ccad
rewrite snackplayer with remark plugin
darshkpatel Aug 24, 2020
6e2a698
update export for RemarkPlugin
darshkpatel Aug 24, 2020
d241616
Revert "update export for RemarkPlugin"
darshkpatel Aug 24, 2020
33dbca1
add tabs for a tabbed snack player
teikjun Aug 24, 2020
8eed682
fix a tab list
teikjun Aug 24, 2020
7ddddaa
WIP: nested tabs POC
teikjun Aug 24, 2020
753f0cb
fix config import error
Aug 25, 2020
41bbbce
Fix: Showcase page import
darshkpatel Aug 25, 2020
257f1c9
fix versions import
teikjun Aug 25, 2020
4019d4a
Merge branch 'docs/v2-migration' of github.com:MLH-Fellowship/react-n…
teikjun Aug 25, 2020
319da6a
use alias for versions.json file
Aug 25, 2020
8fd8183
WIP: attempt to fix OOM errors with build
darshkpatel Aug 25, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
# --------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions docs/activityindicator.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,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)<div class="label android">Android</div><hr/><ins style="background: #999" class="color-box"></ins>`'#999999'` <div class="label ios">iOS</div> |
| Type | Default |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [color](colors) | `null` (system accent default color)<div class="label android">Android</div><hr/><ins style={{background: '#999'}} className="color-box" />`'#999999'` <div className="label ios">iOS</div> |

---

Expand Down
2 changes: 1 addition & 1 deletion docs/alertios.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: alertios
title: 🚧 AlertIOS
title: '🚧 AlertIOS'
---

> **Deprecated.** Use [`Alert`](alert) instead.
Expand Down
16 changes: 5 additions & 11 deletions docs/appearance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()`

Expand All @@ -79,8 +75,6 @@ static addChangeListener(listener)

Add an event handler that is fired when appearance preferences change.

---

### `removeChangeListener()`

```jsx
Expand Down
Loading