mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 02:43:48 +02:00
Add timestampBase option for live MediaStreamTrack sources
This commit is contained in:
@@ -338,11 +338,11 @@ const generateDocs = (entryFiles: string[], apiConfigFile: string, dry = false)
|
||||
if (linkText) {
|
||||
// If custom link text is provided, always use it.
|
||||
displayText = linkText.trim();
|
||||
} else if (memberName) {
|
||||
// If it's a member link, default the text to just the member name.
|
||||
} else if (memberName && typeName === currentTypeName) {
|
||||
// Member link on the current type: just the member name.
|
||||
displayText = `\`${memberName}\``;
|
||||
} else {
|
||||
// Otherwise, it's a type link, so use the full type name.
|
||||
// Type link, or member link on another type: use the full target.
|
||||
displayText = `\`${cleanTarget}\``;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user