Skip to content

docs: edit links point to the Docusaurus repository #4040

Description

@Labeeb2339

What happened

The Docusaurus configuration in docuilib/docusaurus.config.js sets both docs and blog editUrl values to paths under:

https://github.com/facebook/docusaurus/edit/main/website/

The documentation source is actually loaded from ../docs and the project is wix/react-native-ui-lib.

Why it matters

The generated “Edit this page” actions send contributors to another project's source tree, so documentation fixes cannot be proposed from the UI Lib docs.

Suggested fix

Point docs and blog editUrl at the corresponding wix/react-native-ui-lib source paths, or disable the actions where no local blog source exists. Verify the generated links for a component doc and a blog page.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions