From eb27fd4754e07a5526b5b1dd6700bd71dd241b64 Mon Sep 17 00:00:00 2001 From: Pierre Ecarlat <pecarlat@grandlyon.com> Date: Wed, 27 Mar 2024 15:36:15 +0100 Subject: [PATCH] Fixed typo + test slug --- docs/ecolyo/Technical/0-getting-started.md | 4 ++++ .../{Sservices => Services}/aggregator_usage_events.md | 0 .../Technical/{Sservices => Services}/consumption_alert.md | 0 .../enedis_halfhour_monthly_analysis.md | 0 docs/ecolyo/Technical/{Sservices => Services}/index.md | 4 ++-- .../{Sservices => Services}/monthly_report_notification.md | 0 6 files changed, 6 insertions(+), 2 deletions(-) rename docs/ecolyo/Technical/{Sservices => Services}/aggregator_usage_events.md (100%) rename docs/ecolyo/Technical/{Sservices => Services}/consumption_alert.md (100%) rename docs/ecolyo/Technical/{Sservices => Services}/enedis_halfhour_monthly_analysis.md (100%) rename docs/ecolyo/Technical/{Sservices => Services}/index.md (93%) rename docs/ecolyo/Technical/{Sservices => Services}/monthly_report_notification.md (100%) diff --git a/docs/ecolyo/Technical/0-getting-started.md b/docs/ecolyo/Technical/0-getting-started.md index 9ea1db4..cb0d941 100644 --- a/docs/ecolyo/Technical/0-getting-started.md +++ b/docs/ecolyo/Technical/0-getting-started.md @@ -1,3 +1,7 @@ +--- +slug: /ecolyo/Technical/getting-started +--- + # Getting started This section will allow you to launch a proper local environment of the Ecolyo application diff --git a/docs/ecolyo/Technical/Sservices/aggregator_usage_events.md b/docs/ecolyo/Technical/Services/aggregator_usage_events.md similarity index 100% rename from docs/ecolyo/Technical/Sservices/aggregator_usage_events.md rename to docs/ecolyo/Technical/Services/aggregator_usage_events.md diff --git a/docs/ecolyo/Technical/Sservices/consumption_alert.md b/docs/ecolyo/Technical/Services/consumption_alert.md similarity index 100% rename from docs/ecolyo/Technical/Sservices/consumption_alert.md rename to docs/ecolyo/Technical/Services/consumption_alert.md diff --git a/docs/ecolyo/Technical/Sservices/enedis_halfhour_monthly_analysis.md b/docs/ecolyo/Technical/Services/enedis_halfhour_monthly_analysis.md similarity index 100% rename from docs/ecolyo/Technical/Sservices/enedis_halfhour_monthly_analysis.md rename to docs/ecolyo/Technical/Services/enedis_halfhour_monthly_analysis.md diff --git a/docs/ecolyo/Technical/Sservices/index.md b/docs/ecolyo/Technical/Services/index.md similarity index 93% rename from docs/ecolyo/Technical/Sservices/index.md rename to docs/ecolyo/Technical/Services/index.md index 4003bb9..7b97e5a 100644 --- a/docs/ecolyo/Technical/Sservices/index.md +++ b/docs/ecolyo/Technical/Services/index.md @@ -1,8 +1,8 @@ # Services -In order to build an automated task within our cozy-stack, we can create _services_ which are javascript files called from a trigger job. +In order to build an automated task within our cozy-stack, we can create *services* which are JavaScript files called from a trigger job. -For instance on Ecolyo, to schedule a mail that alert the user that a new **monthly report** is available in the application, we add a trigger that is launched every month with a _cron_ attribute. On that trigger we link a .js script then we instantiate this script with cozy-client. +For instance on Ecolyo, to schedule a mail that alert the user that a new **monthly report** is available in the application, we add a trigger that is launched every month with a *cron* attribute. On that trigger we link a .js script then we instantiate this script with cozy-client. ## Configuration diff --git a/docs/ecolyo/Technical/Sservices/monthly_report_notification.md b/docs/ecolyo/Technical/Services/monthly_report_notification.md similarity index 100% rename from docs/ecolyo/Technical/Sservices/monthly_report_notification.md rename to docs/ecolyo/Technical/Services/monthly_report_notification.md -- GitLab