microsoft / react-native-windows-samples

A repository showcasing React Native samples and templates for Windows, macOS, and Surface Duo.
https://microsoft.github.io/react-native-windows/
MIT License
467 stars 197 forks source link

Migrate to Docusaurus v2 #269

Open asklar opened 3 years ago

asklar commented 3 years ago

@chrisglein we don't control the order of inclusion as that's done by docusaurus. If/we move to docusaurus v2, a lot of this can go away since we can just embed react components instead of dealing with css styling

_Originally posted by @asklar in https://github.com/microsoft/react-native-windows-samples/pull/251#discussion_r492475514_

asklar commented 3 years ago

We will need docusaurus v2 to support the top level pivots before we can move. Tracked by https://github.com/facebook/docusaurus/issues/3320

slorber commented 3 years ago

Hi

There's a PR to track, likely to be in next version: https://github.com/facebook/docusaurus/pull/3539

edit: merged

slorber commented 3 years ago

published the "top level pivots": https://twitter.com/docusaurus/status/1318234989717192704

chrisglein commented 1 year ago

Fast forward a couple years, there's now more information and tools for moving to v2: https://docusaurus.io/docs/migration

YajurG commented 1 year ago

Tried running the automated script as specified on the migration docs. Got an ERR_UNSUPPORTED_ESM_URL_SCHEME which was related to running the script on Windows, and running on WSL should have fixed it. Ran the same script on WSL and got the same error, so have send a message on the docusaurus migration support channel on their Discord and waiting for a response.

YajurG commented 1 year ago

Giving a progress update here:

Completed:

Pending/To-Do: