From fbc8f15e838696bec8107df192fd66031641d51e Mon Sep 17 00:00:00 2001 From: Diana Lau Date: Thu, 25 Oct 2018 12:39:35 -0400 Subject: [PATCH] docs: fix number formatting --- docs/site/Decorators_inject.md | 2 +- docs/site/Decorators_route.md | 4 ++-- docs/site/Deploying-to-IBM-Cloud.md | 32 ++++++++++++++--------------- docs/site/Model.md | 2 -- examples/soap-calculator/README.md | 18 ++++++++-------- 5 files changed, 28 insertions(+), 30 deletions(-) diff --git a/docs/site/Decorators_inject.md b/docs/site/Decorators_inject.md index fd9fc76dae21..edbecd801336 100644 --- a/docs/site/Decorators_inject.md +++ b/docs/site/Decorators_inject.md @@ -153,4 +153,4 @@ injection if possible. Use `@inject.context` only when the code needs to access the current context object for advanced use cases. For more information, see the [Dependency Injection](Dependency-Injection.md) -section under [LoopBack Core Concepts](Concepts.md) +section under [LoopBack Core Concepts](Concepts.md). diff --git a/docs/site/Decorators_route.md b/docs/site/Decorators_route.md index f39f1c62608f..cb4222f28d63 100644 --- a/docs/site/Decorators_route.md +++ b/docs/site/Decorators_route.md @@ -315,5 +315,5 @@ class MyController { ``` _We plan to support more `@requestBody` shortcuts in the future. You can track -the feature in story_ -_(https://github.com/strongloop/loopback-next/issues/1064)_ +the feature in +[story 1064](https://github.com/strongloop/loopback-next/issues/1064)._ diff --git a/docs/site/Deploying-to-IBM-Cloud.md b/docs/site/Deploying-to-IBM-Cloud.md index ca6cbbd7940c..c6618d3d646f 100644 --- a/docs/site/Deploying-to-IBM-Cloud.md +++ b/docs/site/Deploying-to-IBM-Cloud.md @@ -146,29 +146,29 @@ export async function main(options?: ApplicationConfig) { ## Running the app locally -1. Install all dependencies: +1. Install all dependencies: ```sh $ npm i ``` -2. Build the app: +2. Build the app: ```sh $ npm run build ``` -3. Ensure Cloudant is running locally. -4. Start the app: +3. Ensure Cloudant is running locally. +4. Start the app: ```sh $ npm start ``` -5. Go to http://localhost:3000/explorer to load API Explorer and add a todo or - two. +5. Go to http://localhost:3000/explorer to load API Explorer and add a todo or + two. -6. Go to http://localhost:3000/todos to see the todos. +6. Go to http://localhost:3000/todos to see the todos. ## Deploying the app @@ -178,9 +178,9 @@ further. We'll need to create the following Cloud Foundry artifacts to deploy our app to IBM Cloud: -1. `.cfignore` - not mandatory, prevents `cf` from uploading the listed files - to IBM Cloud. -2. `manifest.yml` - details about the app. +1. `.cfignore` - not mandatory, prevents `cf` from uploading the listed files to + IBM Cloud. +2. `manifest.yml` - details about the app. Create a file named `.cfignore` in the app directory with the following content. @@ -200,20 +200,20 @@ $ cf create-app-manifest mylb4app -p manifest.yml Now we are ready to deploy the app to IBM Cloud. -1. Build the app locally: +1. Build the app locally: ```sh npm run build ``` -2. Push the app to Cloud Foundry: +2. Push the app to Cloud Foundry: ``` cf push mylb4app ``` -3. Go to https://mylb4app.eu-gb.mybluemix.net/explorer to load the API Explorer - and add a todo or two. The host `mylb4app.eu-gb.mybluemix.net` is derived - from the `name` and `domain` values in the `manifest.yml` file. +3. Go to https://mylb4app.eu-gb.mybluemix.net/explorer to load the API Explorer + and add a todo or two. The host `mylb4app.eu-gb.mybluemix.net` is derived + from the `name` and `domain` values in the `manifest.yml` file. -4. Go to https://mylb4app.eu-gb.mybluemix.net/todos to see the todos. +4. Go to https://mylb4app.eu-gb.mybluemix.net/todos to see the todos. diff --git a/docs/site/Model.md b/docs/site/Model.md index 5792a53c68fa..623cc2242732 100644 --- a/docs/site/Model.md +++ b/docs/site/Model.md @@ -6,8 +6,6 @@ sidebar: lb4_sidebar permalink: /doc/en/lb4/Model.html --- -{% include content/tbd.html %} - ## Overview A model describes business domain objects, for example, `Customer`, `Address`, diff --git a/examples/soap-calculator/README.md b/examples/soap-calculator/README.md index bc6d3ec6d28a..b3a591301b58 100644 --- a/examples/soap-calculator/README.md +++ b/examples/soap-calculator/README.md @@ -39,15 +39,15 @@ Follow the following steps to start buiding your application: 6. [Register the service](https://loopback.io/doc/en/lb4/soap-calculator-tutorial-make-service-available.md) 7. [Run and Test the application](https://loopback.io/doc/en/lb4/soap-calculator-run-and-and-test.md) -## or Try it out +## Try it out If you'd like to see the final results of this tutorial as an example application, follow these steps: ### Generate the example using CLI -1.Run the `lb4 example` command to select and clone the soap-calculator -repository: +1. Run the `lb4 example` command to select and clone the soap-calculator + repository: ```sh $ lb4 example @@ -60,19 +60,19 @@ $ lb4 example > soap-calculator: An example on how to integrate SOAP web services. ``` -2.Jump into the directory and then install the required dependencies: +2. Jump into the directory and then install the required dependencies: ```sh cd loopback4-example-soap-calculator ``` -3.Finally, start the application! +3. Finally, start the application! - ```sh - $ npm start +```sh +$ npm start - Server is running on port 3000 - ``` +Server is running on port 3000 +``` Feel free to look around in the application's code to get a feel for how it works.