Skip to content

Commit

Permalink
Mkarimi/namespaced links (#140)
Browse files Browse the repository at this point in the history
* Fix outgoing links from datatypes

* Return correct type if param type is namespaced
  • Loading branch information
karimi authored Oct 8, 2024
1 parent e3b85ee commit 352fa46
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions quasar_site/src/components/MemberSignature.vue
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,12 @@ export default {
//WWW-2098: try looking for enums which have . separated names in this dictionary
type = typeMap[`${this.datatype.name}.${token}`];
if (!type){
return null;
console.log(`typeFromToken: ${token} type: ${type}`)
//WWW-2523 RhinoCommon docs: Some method argument type links are disabled
type = typeMap[token.split(".").slice(-1)[0]];
if (!type){
return null;
}
}
}
return type
Expand All @@ -266,7 +271,7 @@ export default {
link = `https://learn.microsoft.com/en-us/dotnet/api/${cleanType}`
}
}
console.log("returning link", this.baseUrl)
// console.log(`returning link for ${typeToken} path: ${tokenPath}`, link)
return link;
},
},
Expand Down

0 comments on commit 352fa46

Please sign in to comment.