Skip to content

Commit 9adffa4

Browse files
Merge pull request #9 from ballerina-platform/doc-fix
Fix documentation issues
2 parents ea7bedb + c8e1065 commit 9adffa4

File tree

5 files changed

+49
-119
lines changed

5 files changed

+49
-119
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,45 +26,45 @@ If you don't have a HubSpot Developer Account, you can sign up to a free account
2626

2727
Within app developer accounts, you can create [Developer Test Account](https://developers.hubspot.com/beta-docs/getting-started/account-types#developer-test-accounts) to test apps and integrations without affecting any real HubSpot data.
2828

29-
**Note:** _These accounts are intended only for development and testing purposes and should not be used production environments._
29+
> **Note:** These accounts are intended only for development and testing purposes and should not be used production environments.
3030
3131
1. Go to 'Test Account' section from the left sidebar.
3232

33-
![Hubspot developer portal](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/test_acc_1.png)
33+
![Hubspot developer portal](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/test_acc_1.png)
3434

3535
2. Click 'Create developer test account'. In the dialog box, give a name to your test account and click 'Create'.
3636

37-
![Hubspot developer portal](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/test_acc_2.png)
37+
![Hubspot developer portal](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/test_acc_2.png)
3838

3939
### Step 3: Create a HubSpot App under your account.
4040

4141
1. In your developer account, navigate to the 'Apps' section. Click on 'Create App'.
4242

43-
![Hubspot app creation 1](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/create_app_1.png)
43+
![Hubspot app creation 1](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/create_app_1.png)
4444

4545
2. Provide the necessary details, including the app name and description.
4646

4747
### Step 4: Configure the Authentication Flow.
4848

4949
1. Move to the Auth Tab.
5050

51-
![Hubspot app auth setup 1](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/create_app_2.png)
51+
![Hubspot app auth setup 1](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/create_app_2.png)
5252

5353
2. In the Scopes section, add the following scope for your app using the 'Add new scope' button.
5454

55-
`e-commerce`
55+
- `e-commerce`
5656

57-
![Hubspot app auth setup 2](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/scope_set.png)
57+
![Hubspot app auth setup 2](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/scope_set.png)
5858

59-
3. Add your Redirect URI in the relevant section. You can also use localhost addresses for local development purposes. Click 'Create App'.
59+
3. Add your Redirect URI in the relevant section. You can also use `localhost` addresses for local development purposes. Click 'Create App'.
6060

61-
![Hubspot app auth setup 3](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/create_app_final.png)
61+
![Hubspot app auth setup 3](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/create_app_final.png)
6262

6363
### Step 5: Get your Client ID and Client Secret
6464

6565
- Navigate to the 'Auth' section of your app. Make sure to save the provided Client ID and Client Secret.
6666

67-
![Hubspot app auth setup 5](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/get_credentials.png)
67+
![Hubspot app auth setup 5](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/get_credentials.png)
6868

6969
### Step 6: Setup Authentication Flow
7070

@@ -78,11 +78,11 @@ Before proceeding with the Quickstart, ensure you have obtained the Access Token
7878

7979
Replace the **YOUR_CLIENT_ID**, **YOUR_REDIRECT_URI** and **YOUR_SCOPES** with your specific value.
8080

81-
**Note:** _If you are using a localhost redirect url, make sure to have a listener running at the relevant port before executing the next step._
81+
> **Note:** If you are using a `localhost` redirect url, make sure to have a listener running at the relevant port before executing the next step.
8282
8383
2. Paste it in the browser and select your developer test account to install the app when prompted.
8484

85-
![Hubspot app install](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/install_app.png)
85+
![Hubspot app install](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/install_app.png)
8686

8787
3. A code will be displayed in the browser. Copy the code.
8888

@@ -125,7 +125,7 @@ To use the **HubSpot CRM Object Products** connector in your Ballerina applicati
125125

126126
### Step 1: Import the module
127127

128-
Import the `hubspot.crm.obj.products` module and `oauth2` module.
128+
Import the `ballerinax/hubspot.crm.obj.products` module and `oauth2` module.
129129

130130
```ballerina
131131
import ballerina/oauth2;
@@ -161,7 +161,7 @@ import ballerinax/hubspot.crm.obj.products as hsproducts;
161161

162162
### Step 3: Invoke the connector operation
163163

164-
Now, utilize the available connector operations. A sample usecase is shown below.
164+
Now, utilize the available connector operations. A sample use case is shown below.
165165

166166
#### Create a product
167167

@@ -183,9 +183,9 @@ public function main() returns error? {
183183

184184
The `Ballerina HubSpot CRM Products Connector` connector provides practical examples illustrating usage in various scenarios. Explore these [examples](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/tree/main/examples/), covering the following use cases:
185185

186-
1. [Update Batch of Products](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/tree/main/examples/update-products) - Integrate Ballerina Hubspot CRM Products Connector to update the properties of a batch of products.
186+
1. [Update Batch of Products](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/tree/main/examples/update-products) - Integrate Ballerina HubSpot CRM Products Connector to update the properties of a batch of products.
187187

188-
2. [Filter and Archive Batch](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/tree/main/examples/search-and-archive) - Integrate Ballerina Hubspot CRM Products Connector to filter products based on the price and then archive the batch.
188+
2. [Filter and Archive Batch](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/tree/main/examples/search-and-archive) - Integrate Ballerina HubSpot CRM Products Connector to filter products based on the price and then archive the batch.
189189

190190
## Build from the source
191191

ballerina/Module.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,45 +18,45 @@ If you don't have a HubSpot Developer Account, you can sign up to a free account
1818

1919
Within app developer accounts, you can create [Developer Test Account](https://developers.hubspot.com/beta-docs/getting-started/account-types#developer-test-accounts) to test apps and integrations without affecting any real HubSpot data.
2020

21-
**Note:** _These accounts are intended only for development and testing purposes and should not be used production environments._
21+
> **Note:** These accounts are intended only for development and testing purposes and should not be used production environments.
2222
2323
1. Go to 'Test Account' section from the left sidebar.
2424

25-
![Hubspot developer portal](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/test_acc_1.png)
25+
![Hubspot developer portal](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/test_acc_1.png)
2626

2727
2. Click 'Create developer test account'. In the dialog box, give a name to your test account and click 'Create'.
2828

29-
![Hubspot developer portal](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/test_acc_2.png)
29+
![Hubspot developer portal](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/test_acc_2.png)
3030

3131
### Step 3: Create a HubSpot App under your account.
3232

3333
1. In your developer account, navigate to the 'Apps' section. Click on 'Create App'.
3434

35-
![Hubspot app creation 1](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/create_app_1.png)
35+
![Hubspot app creation 1](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/create_app_1.png)
3636

3737
2. Provide the necessary details, including the app name and description.
3838

3939
### Step 4: Configure the Authentication Flow.
4040

4141
1. Move to the Auth Tab.
4242

43-
![Hubspot app auth setup 1](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/create_app_2.png)
43+
![Hubspot app auth setup 1](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/create_app_2.png)
4444

4545
2. In the Scopes section, add the following scope for your app using the 'Add new scope' button.
4646

47-
`e-commerce`
47+
- `e-commerce`
4848

49-
![Hubspot app auth setup 2](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/scope_set.png)
49+
![Hubspot app auth setup 2](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/scope_set.png)
5050

51-
3. Add your Redirect URI in the relevant section. You can also use localhost addresses for local development purposes. Click 'Create App'.
51+
3. Add your Redirect URI in the relevant section. You can also use `localhost` addresses for local development purposes. Click 'Create App'.
5252

53-
![Hubspot app auth setup 3](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/create_app_final.png)
53+
![Hubspot app auth setup 3](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/create_app_final.png)
5454

5555
### Step 5: Get your Client ID and Client Secret
5656

5757
- Navigate to the 'Auth' section of your app. Make sure to save the provided Client ID and Client Secret.
5858

59-
![Hubspot app auth setup 5](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/get_credentials.png)
59+
![Hubspot app auth setup 5](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/get_credentials.png)
6060

6161
### Step 6: Setup Authentication Flow
6262

@@ -70,11 +70,11 @@ Before proceeding with the Quickstart, ensure you have obtained the Access Token
7070

7171
Replace the **YOUR_CLIENT_ID**, **YOUR_REDIRECT_URI** and **YOUR_SCOPES** with your specific value.
7272

73-
**Note:** _If you are using a localhost redirect url, make sure to have a listener running at the relevant port before executing the next step._
73+
> **Note:** If you are using a `localhost` redirect url, make sure to have a listener running at the relevant port before executing the next step.
7474
7575
2. Paste it in the browser and select your developer test account to install the app when prompted.
7676

77-
![Hubspot app install](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/install_app.png)
77+
![Hubspot app install](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/main/docs/setup/resources/install_app.png)
7878

7979
3. A code will be displayed in the browser. Copy the code.
8080

@@ -117,7 +117,7 @@ To use the **HubSpot CRM Object Products** connector in your Ballerina applicati
117117

118118
### Step 1: Import the module
119119

120-
Import the `hubspot.crm.obj.products` module and `oauth2` module.
120+
Import the `ballerinax/hubspot.crm.obj.products` module and `oauth2` module.
121121

122122
```ballerina
123123
import ballerina/oauth2;
@@ -153,7 +153,7 @@ import ballerinax/hubspot.crm.obj.products as hsproducts;
153153

154154
### Step 3: Invoke the connector operation
155155

156-
Now, utilize the available connector operations. A sample usecase is shown below.
156+
Now, utilize the available connector operations. A sample use case is shown below.
157157

158158
#### Create a product
159159

@@ -175,6 +175,6 @@ public function main() returns error? {
175175

176176
The `Ballerina HubSpot CRM Products Connector` connector provides practical examples illustrating usage in various scenarios. Explore these [examples](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/tree/main/examples/), covering the following use cases:
177177

178-
1. [Update Batch of Products](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/tree/main/examples/update-products) - Integrate Ballerina Hubspot CRM Products Connector to update the properties of a batch of products.
178+
1. [Update Batch of Products](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/tree/main/examples/update-products) - Integrate Ballerina HubSpot CRM Products Connector to update the properties of a batch of products.
179179

180-
2. [Filter and Archive Batch](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/tree/main/examples/search-and-archive) - Integrate Ballerina Hubspot CRM Products Connector to filter products based on the price and then archive the batch.
180+
2. [Filter and Archive Batch](https://github.com/ballerina-platform/module-ballerinax-hubspot.crm.object.products/tree/main/examples/search-and-archive) - Integrate Ballerina HubSpot CRM Products Connector to filter products based on the price and then archive the batch.

0 commit comments

Comments
 (0)