@sanity/generate-help-url
Version:
Generates URLs to specific sections of the Sanity documentation
26 lines (15 loc) • 1.02 kB
Markdown
# @sanity/generate-help-url
[](https://www.npmjs.com/package/@sanity/generate-help-url)[](https://bundlephobia.com/result?p=@sanity/generate-help-url)[](https://github.com/sanity-io/generate-help-url/actions?query=workflow%3Atest)
Generates URLs to specific sections of the Sanity documentation.
## Installation
```
npm install --save @sanity/generate-help-url
```
## Usage
```ts
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](https://www.sanity.io/)