Skip to content

Commit fb1b02e

Browse files
committed
[DOC-13284]: Feedback on Hello World | Couchbase Docs - the Managed Couchbase Server option only shows the connection string
1 parent a68bbd0 commit fb1b02e

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

modules/devguide/examples/java/StartUsing.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public class StartUsing {
1919

2020
public static void main(String... args) {
2121
// tag::connect-env[]
22+
// Use the following code to connect to your cluster.
2223
Cluster cluster = Cluster.connect(
2324
connectionString,
2425
ClusterOptions.clusterOptions(username, password).environment(env -> {

modules/hello-world/pages/start-using-sdk.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,11 @@ Self-Managed Couchbase Server::
219219
220220
[source,java]
221221
----
222-
include::devguide:example$java/StartUsing.java[tags=connect-info,indent=0]
222+
include::devguide:example$java/StartUsing.java[tags="connect-info",indent=0]
223+
----
224+
[source,java]
225+
----
226+
include::devguide:example$java/StartUsing.java[tags="connect-env",indent=0]
223227
----
224228
--
225229

0 commit comments

Comments
 (0)