From 299425743b9b42dfe1b963f39afa192e9a3772b3 Mon Sep 17 00:00:00 2001 From: Thisaru Guruge Date: Fri, 22 Mar 2024 18:23:22 +0530 Subject: [PATCH] Fix documentation issues --- README.md | 5 +++-- ballerina/Module.md | 5 +++-- ballerina/Package.md | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9074e0d..25875b4 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ To use the MongoDB connector, you need to have a MongoDB server running and acce 4. Select "Database" from the left navigation pane under the "Deployment" section and click "connect" button to open connection instructions. - ![MongoDB Atlas Connect](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-mongodb/master/docs/setup/resources/mongodb-atlas-connect.png) + ![MongoDB Atlas Connect](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-mongodb/master/docs/setup/resources/mongodb-atlas-database-page.png) 5. Add your IP address to the IP access list or select "Allow access from anywhere" to allow all IP addresses to access the cluster. @@ -79,8 +79,9 @@ mongodb:Client mongoDb = new ({ } } }); +``` -#### Initialize the MongoDB client using the connection string. +#### Initialize the MongoDB client using the connection string ```ballerina mongodb:Client mongoDb = new ({ diff --git a/ballerina/Module.md b/ballerina/Module.md index 5256f4c..c4fdb7b 100644 --- a/ballerina/Module.md +++ b/ballerina/Module.md @@ -32,7 +32,7 @@ To use the MongoDB connector, you need to have a MongoDB server running and acce 4. Select "Database" from the left navigation pane under the "Deployment" section and click "connect" button to open connection instructions. - ![MongoDB Atlas Connect](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-mongodb/master/docs/setup/resources/mongodb-atlas-connect.png) + ![MongoDB Atlas Connect](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-mongodb/master/docs/setup/resources/mongodb-atlas-database-page.png) 5. Add your IP address to the IP access list or select "Allow access from anywhere" to allow all IP addresses to access the cluster. @@ -70,8 +70,9 @@ mongodb:Client mongoDb = new ({ } } }); +``` -#### Initialize the MongoDB client using the connection string. +#### Initialize the MongoDB client using the connection string ```ballerina mongodb:Client mongoDb = new ({ diff --git a/ballerina/Package.md b/ballerina/Package.md index 5256f4c..c4fdb7b 100644 --- a/ballerina/Package.md +++ b/ballerina/Package.md @@ -32,7 +32,7 @@ To use the MongoDB connector, you need to have a MongoDB server running and acce 4. Select "Database" from the left navigation pane under the "Deployment" section and click "connect" button to open connection instructions. - ![MongoDB Atlas Connect](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-mongodb/master/docs/setup/resources/mongodb-atlas-connect.png) + ![MongoDB Atlas Connect](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-mongodb/master/docs/setup/resources/mongodb-atlas-database-page.png) 5. Add your IP address to the IP access list or select "Allow access from anywhere" to allow all IP addresses to access the cluster. @@ -70,8 +70,9 @@ mongodb:Client mongoDb = new ({ } } }); +``` -#### Initialize the MongoDB client using the connection string. +#### Initialize the MongoDB client using the connection string ```ballerina mongodb:Client mongoDb = new ({