@sanity/generate-help-url

v3.0.0
Generates URLs to specific sections of the Sanity documentation
sanity cms headless realtime content generate-help-url

@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

npm i @sanity/generate-help-url

Metadata

  • MIT
  • Whatever
  • Sanity.io
  • released 1/31/2022

Downloads