Skip to content

Commit f957b48

Browse files
committed
Remove page-local TOC
1 parent 78ca133 commit f957b48

File tree

6 files changed

+5
-25
lines changed

6 files changed

+5
-25
lines changed

docs/appendices/compatibility.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
Compatibility
55
=============
66

7-
.. rubric:: Table of contents
8-
9-
.. contents::
10-
:local:
11-
127
.. _versions:
138

149
Version notes

docs/appendices/data-types.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
Data types
55
==========
66

7-
.. rubric:: Table of contents
8-
9-
.. contents::
10-
:local:
11-
127
.. _type-map:
138

149
Type mapping

docs/appendices/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Supplementary information for the CrateDB PDO Driver.
99
.. rubric:: Table of contents
1010

1111
.. toctree::
12-
:maxdepth: 2
12+
:maxdepth: 1
1313

1414
data-types
1515
compatibility

docs/connect.rst

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
Connect to CrateDB
55
==================
66

7-
.. rubric:: Table of contents
8-
9-
.. contents::
10-
:local:
11-
127
.. _data-source-name:
138

149
Data source names
@@ -102,15 +97,15 @@ You can get a PDO connection like this:
10297
CrateDB Cloud
10398
=============
10499

105-
If you are connecting to CrateDB Cloud you will need to enable the SSL mode
100+
If you are connecting to CrateDB Cloud you will need to enable the SSL mode
106101
by setting the connection's ``CRATE_ATTR_SSL_MODE`` attribute:
107102

108103
.. code-block:: php
109104
110105
require __DIR__ . '/vendor/autoload.php';
111106
use Crate\PDO\PDOCrateDB;
112107
$dsn = 'crate:yourcluster.yourdomain.com:4200';
113-
$user = 'user1';
108+
$user = 'user1';
114109
$password = '<SECRET>';
115110
$options = null;
116111
$connection = new PDOCrateDB($dsn, $user, $password, $options);
@@ -122,7 +117,7 @@ by setting the connection's ``CRATE_ATTR_SSL_MODE`` attribute:
122117
print_r($row);
123118
}
124119
125-
If this is not configured you will see the following error message:
120+
If this is not configured you will see the following error message:
126121
``cURL error 52: Empty reply from server``
127122

128123
Advanced settings

docs/getting-started.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ Getting started
77
Learn how to install and get started with the :ref:`CrateDB PDO driver
88
<index>`.
99

10-
.. rubric:: Table of contents
11-
12-
.. contents::
13-
:local:
14-
1510
.. _prerequisites:
1611

1712
Prerequisites

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface for accessing databases in PHP.
2727
.. rubric:: Table of contents
2828

2929
.. toctree::
30-
:maxdepth: 2
30+
:maxdepth: 1
3131

3232
getting-started
3333
connect

0 commit comments

Comments
 (0)