Skip to content

Commit d18f098

Browse files
committed
Improve the Table of Contents
1 parent 57e18a1 commit d18f098

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/connecting.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ This page contains the information you need to connect and use the Client with
1212
* <<client-connect-proxy, Connecting through a proxy>>
1313
* <<client-error-handling, Handling errors>>
1414
* <<keep-alive, Keep-alive connections>>
15-
* <<product-check, Automatic product check>>
1615
* <<closing, Closing the client>>
16+
* <<product-check, Automatic product check>>
1717

1818
[[authentication]]
1919
[discrete]
@@ -692,9 +692,10 @@ const client = new Client({
692692
})
693693
----
694694

695+
696+
[[closing]]
695697
[discrete]
696-
[[close-connection]]
697-
=== Close connection
698+
=== Closing the client
698699

699700
If you want to end a connection to an Elasticsearch server, use the `close()` function.
700701

@@ -708,7 +709,6 @@ client.close();
708709
----
709710

710711

711-
712712
[discrete]
713713
[[product-check]]
714714
=== Automatic product check

0 commit comments

Comments
 (0)