Home / Function/ normalizeUrl() — supabase Function Reference

normalizeUrl() — supabase Function Reference

Architecture documentation for the normalizeUrl() function in NavigationPageStatus.utils.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  523c06d1_f236_c878_6046_3d42a2a8ab42["normalizeUrl()"]
  a03c92fe_6453_0afc_7e5b_7e9bbd9e669e["collectDisabledPaths()"]
  a03c92fe_6453_0afc_7e5b_7e9bbd9e669e -->|calls| 523c06d1_f236_c878_6046_3d42a2a8ab42
  1673fedf_e2e8_e78f_d1bc_ea27d0b7b85a["checkGuidePageEnabled()"]
  1673fedf_e2e8_e78f_d1bc_ea27d0b7b85a -->|calls| 523c06d1_f236_c878_6046_3d42a2a8ab42
  style 523c06d1_f236_c878_6046_3d42a2a8ab42 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/docs/NavigationPageStatus.utils.ts lines 92–94

function normalizeUrl(url: string): string {
  return url.replace(/^\/+|\/+$/g, '').toLowerCase()
}

Subdomains

Frequently Asked Questions

What does normalizeUrl() do?
normalizeUrl() is a function in the supabase codebase.
What calls normalizeUrl()?
normalizeUrl() is called by 2 function(s): checkGuidePageEnabled, collectDisabledPaths.

Analyze Your Own Codebase

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

Try Supermodel Free