Skip to content

Commit 40bb672

Browse files
committed
feat(API-1892): Delete guides-index files and add redirection
1 parent 9a09729 commit 40bb672

File tree

4 files changed

+37
-206
lines changed

4 files changed

+37
-206
lines changed

content/apps/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Want to know more about the app certification? [Contact us](https://www.akeneo.c
5858

5959
Before starting to develop your app, we advise you to:
6060
- Learn [how users connect their PIM with apps](https://help.akeneo.com/pim/serenity/articles/how-to-connect-my-pim-with-apps.html) and [how they manage their connected apps](https://help.akeneo.com/pim/serenity/articles/manage-your-apps.html)
61-
- Read our [guides](https://api.akeneo.com/guides-index.html) to better understand Akeneo and be aware of best pratices
61+
- Read our [guides](/concepts/introduction.html) to better understand Akeneo and be aware of best pratices
6262
- Check our REST API [Reference](https://api.akeneo.com/api-reference-index.html) & [basics](https://api.akeneo.com/documentation/introduction.html)
6363
- Use our [developer tools](https://api.akeneo.com/apps/app-developer-tools.html)
6464

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta http-equiv="refresh" content="0; URL=/apps/app-concepts-and-use-cases.html" />
5+
<!-- Hotjar Tracking Code for https://api.akeneo.com/ -->
6+
<script>
7+
(function(h,o,t,j,a,r){
8+
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
9+
h._hjSettings={hjid:2599654,hjsv:6};
10+
a=o.getElementsByTagName('head')[0];
11+
r=o.createElement('script');r.async=1;
12+
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
13+
a.appendChild(r);
14+
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
15+
</script>
16+
</head>
17+
<body>
18+
<script>
19+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
20+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
21+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
22+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
23+
24+
ga('create', 'UA-35417741-5', 'auto');
25+
ga('send', 'pageview');
26+
</script>
27+
</body>
28+
</html>

src/guides-index.handlebars

Lines changed: 0 additions & 204 deletions
This file was deleted.

tasks/build-doc.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,8 @@ gulp.task('build-apps', ['clean-dist','less'], function () {
629629

630630
gulp.task('build-redirections', [
631631
'to-get-your-app-token-redirection',
632-
'to-apps-homepage'
632+
'to-apps-homepage',
633+
'to-app-concepts-and-use-cases',
633634
]);
634635

635636
gulp.task('to-get-your-app-token-redirection', ['clean-dist','less'], function () {
@@ -644,6 +645,12 @@ gulp.task('to-apps-homepage', ['clean-dist', 'less'], function () {
644645
.pipe(gulp.dest('./dist'))
645646
});
646647

648+
gulp.task('to-app-concepts-and-use-cases', ['clean-dist', 'less'], function () {
649+
return gulp.src('content/redirections/to-app-concepts-and-use-cases.html')
650+
.pipe(rename('guides-index.html'))
651+
.pipe(gulp.dest('./dist'))
652+
});
653+
647654
gulp.task('build-concepts', ['clean-dist','less'], function () {
648655

649656
var pages = {

0 commit comments

Comments
 (0)