From 25e32b5331ad7d454162e07cf4a2de14912bc1a4 Mon Sep 17 00:00:00 2001 From: Gonzalo Date: Mon, 24 Jan 2022 20:08:48 -0600 Subject: [PATCH] Fix typos --- docs/developer-docs/latest/developer-resources/cli/CLI.md | 4 ++-- .../latest/development/backend-customization/services.md | 4 ++-- docs/developer-docs/latest/getting-started/quick-start.md | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/developer-docs/latest/developer-resources/cli/CLI.md b/docs/developer-docs/latest/developer-resources/cli/CLI.md index e7ed9beeff..c2bf5f36fd 100644 --- a/docs/developer-docs/latest/developer-resources/cli/CLI.md +++ b/docs/developer-docs/latest/developer-resources/cli/CLI.md @@ -77,7 +77,7 @@ Allowed environment variables: | STRAPI_LOG_LEVEL | Values can be 'fatal', 'error', 'warn', 'info', 'debug', 'trace' | string | `debug` | | STRAPI_LOG_TIMESTAMP | Enables or disables the inclusion of a timestamp in the log message. Values can be `true` or `false` | string | `false`| | STRAPI_LOG_FORCE_COLOR | Values can be `true` or `false` | string | `true` | -| STRAPI_LOG_PRETTY_PRINT | If pino-pretty module will be used to format logs. Values can be `true` or `false` | string | `true` | +| STRAPI_LOG_PRETTY_PRINT | If `true` then pino-pretty module will be used to format logs. Values can be `true` or `false` | string | `true` | ## strapi build @@ -98,7 +98,7 @@ options: [--no-optimization] ## strapi watch-admin -Starts the admin server. Strapi should already be running with `strapi develop`. +Starts the admin server. Strapi should already be running with `strapi develop`. ```sh strapi watch-admin diff --git a/docs/developer-docs/latest/development/backend-customization/services.md b/docs/developer-docs/latest/development/backend-customization/services.md index 4bc7c256bf..bceb74c062 100644 --- a/docs/developer-docs/latest/development/backend-customization/services.md +++ b/docs/developer-docs/latest/development/backend-customization/services.md @@ -84,7 +84,7 @@ const transporter = nodemailer.createTransport({ }, }); -module.exports = createCoreService('api::restaurant.restaurant', ({ strapi }) => ({ +module.exports = createCoreService('api::restaurant.restaurant', ({ strapi }) => ({ send(from, to, subject, text) { // Setup e-mail data. const options = { @@ -97,7 +97,7 @@ module.exports = createCoreService('api::restaurant.restaurant', ({ strapi }) => // Return a promise of the function that sends the email. return transporter.sendMail(options); }, -}); +})); ``` The service is now available through the `strapi.service('api::email.email').send(...args)` global variable. It can be used in another part of the codebase, like in the following controller: diff --git a/docs/developer-docs/latest/getting-started/quick-start.md b/docs/developer-docs/latest/getting-started/quick-start.md index cb3a82e365..983bb3623f 100644 --- a/docs/developer-docs/latest/getting-started/quick-start.md +++ b/docs/developer-docs/latest/getting-started/quick-start.md @@ -213,9 +213,9 @@ Let's go to ![Content Manager icon](../assets/quick-start-guide/icons/content.sv 1. Click on **Add new entry**. 2. Type `French Food` in the _Name_ field. -4. Click **Save**. -5. Go back to _Collection types - Category_, then click again on **Add new entry**. -6. Type `Brunch` in the _Name_ field, then click **Save**. +3. Click **Save**. +4. Go back to _Collection types - Category_, then click again on **Add new entry**. +5. Type `Brunch` in the _Name_ field, then click **Save**. ![GIF: Add Categories](../assets/quick-start-guide/qsg-handson-categories.gif) @@ -314,7 +314,7 @@ Now that you know the basics of creating and publishing content with Strapi, we ## 🚀 Part A: Create a new project with Strapi starters -Strapi [starters](https://strapi.io/starters) are the fastest way to kickstart your project. They cover many use cases (blog, e-commerce solution, corporate website, portfolio) and integrate with various technologies (Next, Gridsome, Next, Nuxt). +Strapi [starters](https://strapi.io/starters) are the fastest way to kickstart your project. They cover many use cases (blog, e-commerce solution, corporate website, portfolio) and integrate with various technologies (Next, Gridsome, Nuxt). This quick start guide has been specifically tailored to use the [Next blog starter](https://strapi.io/starters/strapi-starter-next-js-blog). We highly recommend you to follow along with this starter. Once you get a better understanding of Strapi, you will be able to play with other starters on your own.