UNPKG

@sanity/generate-help-url

Version:

Generates URLs to specific sections of the Sanity documentation

6 lines (4 loc) 132 B
const BASE_URL = 'https://docs.sanity.io/help/' export function generateHelpUrl(slug: string): string { return BASE_URL + slug }