Home / Function/ getArticleSlug() — supabase Function Reference

getArticleSlug() — supabase Function Reference

Architecture documentation for the getArticleSlug() function in Troubleshooting.utils.common.mjs from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  7a2a3c0f_f9d5_d0e0_f601_c8e8d1cb9b3d["getArticleSlug()"]
  9f54ef0f_95e0_5c5a_ac3f_760c863599e6["addCanonicalUrl()"]
  9f54ef0f_95e0_5c5a_ac3f_760c863599e6 -->|calls| 7a2a3c0f_f9d5_d0e0_f601_c8e8d1cb9b3d
  style 7a2a3c0f_f9d5_d0e0_f601_c8e8d1cb9b3d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/docs/Troubleshooting.utils.common.mjs lines 195–198

export function getArticleSlug(entry) {
  const parts = entry.filePath.split(sep)
  return parts[parts.length - 1].replace(/\.mdx$/, '')
}

Subdomains

Called By

Frequently Asked Questions

What does getArticleSlug() do?
getArticleSlug() is a function in the supabase codebase.
What calls getArticleSlug()?
getArticleSlug() is called by 1 function(s): addCanonicalUrl.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free