Skip to content

Commit 629eeae

Browse files
author
Maya Shavin
committed
docs: split transformations to section
1 parent f87825d commit 629eeae

File tree

12 files changed

+1054
-929
lines changed

12 files changed

+1054
-929
lines changed

docs/url-docs/content/en/examples/advanced.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Advanced
33
description: 'Advanced examples to use Cloudinary url builder'
4-
position: 8
4+
position: 11
55
category: Examples
66
---
77

docs/url-docs/content/en/examples/basic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Basic
33
description: 'Basic examples to use Cloudinary url builder'
4-
position: 7
4+
position: 10
55
category: Examples
66
---
77

docs/url-docs/content/en/options.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Options
33
description: 'Configuration options for Cloudinary url builder'
44
position: 3
55
category: Guide
6-
version: 1
6+
version: 1.1
77
---
88

99
To configure the builder globally, you can use `setConfig()` method:
@@ -148,7 +148,8 @@ Below are the configuration options to apply to assets specifically (images and
148148
The storage and delivery type of asset in Cloudinary.
149149

150150
```js
151-
import { setConfig, STORAGE_TYPES } from 'cloudinary-builder-url'
151+
import { setConfig } from 'cloudinary-builder-url'
152+
import { STORAGE_TYPES } from '@cld-apis/utils'
152153

153154
setConfig({
154155
storageType: STORAGE_TYPES.UPLOAD //upload
@@ -170,7 +171,8 @@ setConfig({
170171
Type of the asset(s)
171172

172173
```js
173-
import { setConfig, RESOURCE_TYPES } from 'cloudinary-builder-url'
174+
import { setConfig } from 'cloudinary-builder-url'
175+
import { RESOURCE_TYPES } from '@cld-apis/utils'
174176

175177
setConfig({
176178
storageType: RESOURCE_TYPES.IMAGE //image

0 commit comments

Comments
 (0)