Don't try to link type params #11

Merged
adrianheine merged 1 commit from typeParams into master 2019-06-17 09:36:17 +02:00
adrianheine commented 2019-06-16 17:49:31 +02:00 (Migrated from github.com)

This introduces a new property typeParamUsage to mark the second V in function<V> (v: V) as a type parameter and not try to link it. Alternatively, builddocs could keep track of type params in the current scope and do this work itself.

This introduces a new property `typeParamUsage` to mark the second `V` in `function<V> (v: V)` as a type parameter and not try to link it. Alternatively, builddocs could keep track of type params in the current scope and do this work itself.
marijnh commented 2019-06-17 09:37:07 +02:00 (Migrated from github.com)

Thanks! The hack I used in the ProseMirror docs (hard-coding common type param names in the list of link-less types) wasn't terribly robust :)

Thanks! The hack I used in the ProseMirror docs (hard-coding common type param names in the list of link-less types) wasn't terribly robust :)
adrianheine commented 2019-06-17 09:58:13 +02:00 (Migrated from github.com)

:) I would also like to mark literals so that we can get rid of hardcoding them, too, and then I could adapt ProseMirror to those improvements.

:) I would also like to mark literals so that we can get rid of hardcoding them, too, and then I could adapt ProseMirror to those improvements.
marijnh commented 2019-06-17 10:03:13 +02:00 (Migrated from github.com)

Sounds reasonable. I guess we should make getdocs output those properties as well

Sounds reasonable. I guess we should make getdocs output those properties as well
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
marijn/builddocs!11
No description provided.