Skip to content

Commit

Permalink
Fix documentation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisaruGuruge committed Mar 22, 2024
1 parent 5dde60d commit 2994257
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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 ({
Expand Down
5 changes: 3 additions & 2 deletions ballerina/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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 ({
Expand Down
5 changes: 3 additions & 2 deletions ballerina/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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 ({
Expand Down

0 comments on commit 2994257

Please sign in to comment.