Skip to content

docs: edit-page links use GitHub blob URLs instead of edit URLs #1056

Description

@Labeeb2339

What happened

The Docusaurus configuration sets both the docs and blog editUrl values to:

https://github.com/IABTechLab/uid2docs/blob/main/

in docusaurus.config.js.

The blob route is GitHub''s read-only file view, not the edit route. Docusaurus appends the source path to editUrl when generating “Edit this page” links, so readers are sent to a view-only page rather than the editor.

Suggested fix

Change the base URL to the edit route:

https://github.com/IABTechLab/uid2docs/edit/main/

Then verify a generated docs link and a blog link from the deployed site.

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