getLinkTarget() — supabase Function Reference
Architecture documentation for the getLinkTarget() function in Extensions.tsx from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD bbce051c_b011_aa3a_f53e_8e068d69406d["getLinkTarget()"] 7fe2e614_76ff_c020_bf84_9cb256dc6a8a["Extensions()"] 7fe2e614_76ff_c020_bf84_9cb256dc6a8a -->|calls| bbce051c_b011_aa3a_f53e_8e068d69406d style bbce051c_b011_aa3a_f53e_8e068d69406d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/docs/components/Extensions/Extensions.tsx lines 17–24
function getLinkTarget(link: string): LinkTarget {
// Link is relative, open in the same tab
if (link.startsWith('/')) {
return '_self'
}
// Link is external, open in a new tab
return '_blank'
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getLinkTarget() do?
getLinkTarget() is a function in the supabase codebase.
What calls getLinkTarget()?
getLinkTarget() is called by 1 function(s): Extensions.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free