UNPKG

@sanity/generate-help-url

Version:

Generates URLs to specific sections of the Sanity documentation

8 lines (5 loc) 185 B
declare const BASE_URL = 'https://www.sanity.io/docs/help/' export declare function generateHelpUrl<const Slug extends string>( slug: Slug, ): `${typeof BASE_URL}${Slug}` export {}