Skip to content

Commit 100fafd

Browse files
committed
Url for Docs updated
1 parent f6c84eb commit 100fafd

File tree

15 files changed

+33
-30
lines changed

15 files changed

+33
-30
lines changed

contentstack-templates/tmpl/layout.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!--[if lt IE 9]>
1010
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
1111
<![endif]-->
12-
<link rel="canonical" href="https://www.contentstack.com/docs/developers/platforms/javascript/api-reference/">
12+
<link rel="canonical" href="https://www.contentstack.com/docs/developers/javascript-browser/api-reference/">
1313
<link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
1414
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
1515
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
@@ -197,7 +197,7 @@ data.then(function(result) {
197197
<p><a href="https://www.contentstack.com/docs/platforms/javascript-browser/api-reference/">JavaScript API Reference Doc</a></p>
198198
<h3><a id="Working_with_Images_147"></a>Working with Images</h3>
199199
<p>We have introduced Image Delivery APIs that let you retrieve images and then manipulate and optimize them for your digital properties. It lets you perform a host of other actions such as crop, trim, resize, rotate, overlay, and so on.</p>
200-
<p>For example, if you want to crop an image (with width as 300 and height as 400), you simply need to append query parameters at the end of the image URL, such as, <a href="https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/download?crop=300,400">https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/download?crop=300,400</a>. There are several more parameters that you can use for your images.</p>
200+
<p>For example, if you want to crop an image (with width as 300 and height as 400), you simply need to append query parameters at the end of the image URL, such as, <a href=" https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/owl.jpg?crop=300,400"> https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/owl.jpg?crop=300,400</a>. There are several more parameters that you can use for your images.</p>
201201
<p><a href="https://www.contentstack.com/docs/apis/image-delivery-api/">Read Image Delivery API documentation</a>.</p>
202202
<p>SDK functions for Image Delivery API coming soon.</p>
203203
<h3><a id="Helpful_Links_157"></a>Helpful Links</h3>

js-sdk-reference/Assets.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!--[if lt IE 9]>
1010
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
1111
<![endif]-->
12-
<link rel="canonical" href="https://www.contentstack.com/docs/developers/platforms/javascript/api-reference/">
12+
<link rel="canonical" href="https://www.contentstack.com/docs/developers/javascript-browser/api-reference/">
1313
<link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
1414
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
1515
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">

js-sdk-reference/Contentstack.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!--[if lt IE 9]>
1010
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
1111
<![endif]-->
12-
<link rel="canonical" href="https://www.contentstack.com/docs/developers/platforms/javascript/api-reference/">
12+
<link rel="canonical" href="https://www.contentstack.com/docs/developers/javascript-browser/api-reference/">
1313
<link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
1414
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
1515
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">

js-sdk-reference/Entry.html

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!--[if lt IE 9]>
1010
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
1111
<![endif]-->
12-
<link rel="canonical" href="https://www.contentstack.com/docs/developers/platforms/javascript/api-reference/">
12+
<link rel="canonical" href="https://www.contentstack.com/docs/developers/javascript-browser/api-reference/">
1313
<link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
1414
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
1515
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
@@ -460,20 +460,23 @@ <h5>Parameters:</h5>
460460

461461

462462

463-
<h5>Example</h5>
463+
<h5>Examples</h5>
464464

465465
<p class="code-caption"> The only function with field_uid will include the data of only the specified fields for each entry and exclude the data of all other fields. </p>
466466

467-
<pre class="prettyprint"><code>Stack.ContentType('contentTypeUid').Query().only('title').toJSON().find()
467+
<pre class="prettyprint"><code>Stack.ContentType('contentTypeUid').Query().only('title').toJSON().find()</code></pre>
468468

469-
&lt;caption> The only function with an array of field_uids will include multiple fields for each entry and exclude the data of all other fields.&lt;/caption>
470-
Stack.ContentType('contentTypeUid').Query().only(['title','description']).toJSON().find()
469+
<p class="code-caption"> The only function with an array of field_uids will include multiple fields for each entry and exclude the data of all other fields.</p>
470+
471+
<pre class="prettyprint"><code>Stack.ContentType('contentTypeUid').Query().only(['title','description']).toJSON().find()</code></pre>
471472

472-
&lt;caption> In only, we have the only with a reference parameter, where you need to enter the UID of the reference field in place of "reference_field_uid", and the second parameter to include the data of only the specified field_uid for each entry and exclude the data of all other fields.&lt;/caption>
473-
Stack.ContentType('contentTypeUid').Query().includeReference('reference_field_uid').only('reference_field_uid','title').toJSON().find()
473+
<p class="code-caption"> In only, we have the only with a reference parameter, where you need to enter the UID of the reference field in place of "reference_field_uid", and the second parameter to include the data of only the specified field_uid for each entry and exclude the data of all other fields.</p>
474+
475+
<pre class="prettyprint"><code>Stack.ContentType('contentTypeUid').Query().includeReference('reference_field_uid').only('reference_field_uid','title').toJSON().find()</code></pre>
474476

475-
&lt;caption> In only, we have the only with a reference parameter with an array, where you need to enter the UID of the reference field in place of "reference_field_uid", and the second parameter with an array of fields to include the data of only the specified array of field_uids for each entry and exclude the data of all other fields.&lt;/caption>
476-
Stack.ContentType('contentTypeUid').Query().includeReference('reference_field_uid').only('reference_field_uid', ['title', 'description']).toJSON().find()</code></pre>
477+
<p class="code-caption"> In only, we have the only with a reference parameter with an array, where you need to enter the UID of the reference field in place of "reference_field_uid", and the second parameter with an array of fields to include the data of only the specified array of field_uids for each entry and exclude the data of all other fields.</p>
478+
479+
<pre class="prettyprint"><code>Stack.ContentType('contentTypeUid').Query().includeReference('reference_field_uid').only('reference_field_uid', ['title', 'description']).toJSON().find()</code></pre>
477480

478481

479482

js-sdk-reference/Query.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!--[if lt IE 9]>
1010
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
1111
<![endif]-->
12-
<link rel="canonical" href="https://www.contentstack.com/docs/developers/platforms/javascript/api-reference/">
12+
<link rel="canonical" href="https://www.contentstack.com/docs/developers/javascript-browser/api-reference/">
1313
<link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
1414
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
1515
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">

js-sdk-reference/Result.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!--[if lt IE 9]>
1010
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
1111
<![endif]-->
12-
<link rel="canonical" href="https://www.contentstack.com/docs/developers/platforms/javascript/api-reference/">
12+
<link rel="canonical" href="https://www.contentstack.com/docs/developers/javascript-browser/api-reference/">
1313
<link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
1414
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
1515
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">

js-sdk-reference/Stack.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!--[if lt IE 9]>
1010
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
1111
<![endif]-->
12-
<link rel="canonical" href="https://www.contentstack.com/docs/developers/platforms/javascript/api-reference/">
12+
<link rel="canonical" href="https://www.contentstack.com/docs/developers/javascript-browser/api-reference/">
1313
<link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
1414
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
1515
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">

js-sdk-reference/contentstack.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!--[if lt IE 9]>
1010
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
1111
<![endif]-->
12-
<link rel="canonical" href="https://www.contentstack.com/docs/developers/platforms/javascript/api-reference/">
12+
<link rel="canonical" href="https://www.contentstack.com/docs/developers/javascript-browser/api-reference/">
1313
<link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
1414
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
1515
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">

js-sdk-reference/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!--[if lt IE 9]>
1010
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
1111
<![endif]-->
12-
<link rel="canonical" href="https://www.contentstack.com/docs/developers/platforms/javascript/api-reference/">
12+
<link rel="canonical" href="https://www.contentstack.com/docs/developers/javascript-browser/api-reference/">
1313
<link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
1414
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
1515
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
@@ -195,7 +195,7 @@ <h3><a id="Advanced_Queries_141"></a>Advanced Queries</h3>
195195
<p><a href="https://www.contentstack.com/docs/platforms/javascript-browser/api-reference/">JavaScript API Reference Doc</a></p>
196196
<h3><a id="Working_with_Images_147"></a>Working with Images</h3>
197197
<p>We have introduced Image Delivery APIs that let you retrieve images and then manipulate and optimize them for your digital properties. It lets you perform a host of other actions such as crop, trim, resize, rotate, overlay, and so on.</p>
198-
<p>For example, if you want to crop an image (with width as 300 and height as 400), you simply need to append query parameters at the end of the image URL, such as, <a href="https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/download?crop=300,400">https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/download?crop=300,400</a>. There are several more parameters that you can use for your images.</p>
198+
<p>For example, if you want to crop an image (with width as 300 and height as 400), you simply need to append query parameters at the end of the image URL, such as, <a href=" https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/owl.jpg?crop=300,400"> https://images.contentstack.io/v3/assets/blteae40eb499811073/bltc5064f36b5855343/59e0c41ac0eddd140d5a8e3e/owl.jpg?crop=300,400</a>. There are several more parameters that you can use for your images.</p>
199199
<p><a href="https://www.contentstack.com/docs/apis/image-delivery-api/">Read Image Delivery API documentation</a>.</p>
200200
<p>SDK functions for Image Delivery API coming soon.</p>
201201
<h3><a id="Helpful_Links_157"></a>Helpful Links</h3>

js-sdk-reference/modules_assets.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!--[if lt IE 9]>
1010
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
1111
<![endif]-->
12-
<link rel="canonical" href="https://www.contentstack.com/docs/developers/platforms/javascript/api-reference/">
12+
<link rel="canonical" href="https://www.contentstack.com/docs/developers/javascript-browser/api-reference/">
1313
<link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
1414
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
1515
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">

0 commit comments

Comments
 (0)