@sanity/generate-help-url

Generates URLs to specific sections of the Sanity documentation

Usage no npm install needed!

<script type="module">
  import sanityGenerateHelpUrl from 'https://cdn.skypack.dev/@sanity/generate-help-url';
</script>

README

@sanity/generate-help-url

npm versionnpm bundle sizeBuild Status

Generates URLs to specific sections of the Sanity documentation.

Installation

npm install --save @sanity/generate-help-url

Usage

import {generateHelpUrl} from '@sanity/generate-help-url'

console.log(generateHelpUrl('form-builder-input-missing-required-prop'))

The above example generates a help URL that points to a help document with the id form-builder-input-missing-required-prop.

License

MIT © Sanity.io