Correct some link fragments in doc comments #90

Merged
ocavue merged 1 commit from ocavue/fix-link2 into master 2025-07-24 22:47:52 +02:00
ocavue commented 2025-07-24 17:11:32 +02:00 (Migrated from github.com)

I realize that I made some mistake in my previous PR https://github.com/ProseMirror/prosemirror-model/pull/89. In ProseMirror's docs, all static methods have ^ in their link anchor. This PR fixes two links in the docs.

image

Just FYI, I'm using the lychee CLI to find incorrect links:

$ lychee --include-fragments https://prosemirror.net/docs/ref/
  221/221 ━━━━━━━━━━━━━━━━━━━━ Finished extracting links                                                                                                                     Issues found in 1 input. Find details below.

[https://prosemirror.net/docs/ref/]:
   [ERROR] https://prosemirror.net/docs/ref/#model.DOMParser.fromSchema | Cannot find fragment
   [ERROR] https://prosemirror.net/docs/ref/#model.DOMSerializer.fromSchema | Cannot find fragment

🔍 221 Total (in 6s)219 OK 🚫 2 Errors
I realize that I made some mistake in my previous PR https://github.com/ProseMirror/prosemirror-model/pull/89. In ProseMirror's docs, all _static_ methods have `^` in their link anchor. This PR fixes two links in the docs. <img width="708" height="343" alt="image" src="https://github.com/user-attachments/assets/be54849b-5b05-4d96-a62d-53c9c3df7f33" /> Just FYI, I'm using the [lychee](https://github.com/lycheeverse/lychee) CLI to find incorrect links: ```bash $ lychee --include-fragments https://prosemirror.net/docs/ref/ 221/221 ━━━━━━━━━━━━━━━━━━━━ Finished extracting links Issues found in 1 input. Find details below. [https://prosemirror.net/docs/ref/]: [ERROR] https://prosemirror.net/docs/ref/#model.DOMParser.fromSchema | Cannot find fragment [ERROR] https://prosemirror.net/docs/ref/#model.DOMSerializer.fromSchema | Cannot find fragment 🔍 221 Total (in 6s) ✅ 219 OK 🚫 2 Errors ```
marijnh commented 2025-07-24 22:47:38 +02:00 (Migrated from github.com)

Thanks!

Thanks!
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
prosemirror/prosemirror-model!90
No description provided.