Skip to content

Commit 84c94c3

Browse files
Add fix for script documentation
1 parent 349103d commit 84c94c3

File tree

3 files changed

+721
-555
lines changed

3 files changed

+721
-555
lines changed

src/api-reference-saas/index.handlebars

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<p class="pre-nav rest"> <img class="pull-left" style="margin-right: 5px; height: 27px;" src="/img/icons/icon--rest.svg"> REST API endpoints</p>
1616
{{#each categories as |category categoryId|}}
1717
<li class="main-nav">
18-
<a href="#{{{categoryId}}}">{{{categoryName}}}{{#if categoryDeprecated}}<em> - Deprecated</em>{{/if}}{{#if isPublishedProduct}}<em> - Deprecated</em>{{/if}}</a>
18+
<a href="#{{{categoryId}}}">{{{categoryName}}}{{#if categoryDeprecated}}<em> - Deprecated</em>{{/if}}</a>
1919
<ul class="nav">
2020
{{#each category.resources as |resource resourceId|}}
2121
<li class="sub-nav">
22-
<a href="#{{{resourceId}}}">{{{resourceName}}}{{#if ../isPublishedProduct}}<em> - Deprecated</em>{{/if}}</a>
22+
<a href="#{{{resourceId}}}">{{{resourceName}}}</a>
2323
</li>
2424
{{/each}}
2525
</ul>
@@ -32,24 +32,12 @@
3232
{{#each categories as |category categoryId|}}
3333
<a class="anchor" id="{{{categoryId}}}"></a>
3434
<h2>{{{categoryName}}}{{#if categoryDeprecated}}<em> - Deprecated</em>{{/if}}</h2>
35-
{{#if categoryDeprecated}}
36-
<div class="alert alert-warning">
37-
<p>With the introduction of our new way to handle assets, the Asset Manager, the PAM feature has been removed from the v4.0 of the PIM. As a result, from now on, <b>all the endpoints regarding the PAM assets are deprecated</b>. They will not be available anymore starting from the v4.0.<br/>To understand why, we recommend you to read this <a href="https://medium.com/akeneo-labs/between-stability-and-innovation-c2d2dd61a804">Medium post</a>, we wrote on this special occasion.<br/>Also, don't hesitate to take a look at the <a href="/documentation/asset-manager.html">Asset Manager documentation</a> to discover this new feature and how much more efficient it will be to handle your precious assets.</p>
38-
</div>
39-
{{/if}}
4035
{{#each category.resources as |resource resourceId|}}
4136
<a class="anchor" id="{{{resourceId}}}"></a>
4237
<h3 class="picto">
4338
<img src="img/illustrations/illus--{{{resourceId}}}.svg"/>
4439
{{{resourceName}}}{{#if ../categoryDeprecated}}<em> - Deprecated</em>{{/if}}
4540
</h3>
46-
{{#if ../isPublishedProduct}}
47-
<a class="anchor" id="{{{categoryId}}}"></a>
48-
<div class="alert alert-danger">
49-
<p><b>Important update: Published Products discontinuation.</b> This feature is no longer actively supported and will soon be retired.
50-
We recommend exploring alternative solutions. <a target="_blank" href="https://help.akeneo.com/en_US/serenity-take-the-power-over-your-products/important-update-deprecation-of-the-published-products-feature-from-akeneo-pim">Learn more in the help center.</a></p>
51-
</div>
52-
{{/if}}
5341
{{#if isProductIdentifierOrUUID}}
5442
<a class="anchor" id="{{{categoryId}}}"></a>
5543
<div class="alert alert-warning">
@@ -75,23 +63,6 @@
7563
<span class="text-api-url">{{{path}}}</span>
7664
</p>
7765
</div>
78-
<div class="col-xs-12">
79-
<p class="list-group-item-text pull-right">
80-
<em class="small">PIM versions:</em>
81-
{{#each x-versions as |version versionId|}}
82-
<span class="label label-version">{{{version}}}</span>
83-
{{/each}}
84-
<em class="small"> | PIM editions:</em>
85-
{{#unless x-ee}}
86-
<span class="label label-ee">CE</span>
87-
{{/unless}}
88-
<span class="label label-ee">EE</span>
89-
{{#if x-deprecated}}
90-
<em class="small"> | </em>
91-
<span class="label label-warning">deprecated</span>
92-
{{/if}}
93-
</p>
94-
</div>
9566
</div>
9667
</a>
9768
{{/each}}

0 commit comments

Comments
 (0)