Skip to content

Remove page local TOC #720

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions docs/blobs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ The CrateDB Python client library provides full access to the powerful
:ref:`blob storage capabilities <crate-reference:blob_support>` of your
CrateDB cluster.

.. rubric:: Table of contents

.. contents::
:local:

Get a blob container
====================

Expand Down
6 changes: 0 additions & 6 deletions docs/by-example/client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ Python. This section of the documentation outlines different methods to connect
to the database cluster, as well as how to run basic inquiries to the database,
and closing the connection again.

.. rubric:: Table of Contents

.. contents::
:local:


Connect to a database
=====================

Expand Down
6 changes: 0 additions & 6 deletions docs/by-example/connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ The examples use an instance of ``ClientMocked`` instead of a real ``Client``
instance. This allows us to verify the examples without needing a real database
connection.

.. rubric:: Table of Contents

.. contents::
:local:


connect()
=========

Expand Down
6 changes: 0 additions & 6 deletions docs/by-example/cursor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ behaviors of the ``crate.client.cursor.Cursor`` object.
The example code uses ``ClientMocked`` and ``set_next_response`` for
demonstration purposes, so they don't need a real database connection.

.. rubric:: Table of Contents

.. contents::
:local:


Introduction
============

Expand Down
6 changes: 0 additions & 6 deletions docs/by-example/http.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
HTTP client
===========

.. rubric:: Table of Contents

.. contents::
:local:


Introduction
============

Expand Down
6 changes: 0 additions & 6 deletions docs/by-example/https.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ HTTPS connection support
This documentation section outlines different options to connect to CrateDB
using SSL/TLS.

.. rubric:: Table of Contents

.. contents::
:local:


Introduction
============

Expand Down
5 changes: 0 additions & 5 deletions docs/connect.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ Connect to CrateDB
Supplementary information about the CrateDB Database API client can be found
in the :ref:`data types appendix <data-types-db-api>`.

.. rubric:: Table of contents

.. contents::
:local:

.. _single-node:

Connect to a single node
Expand Down
5 changes: 0 additions & 5 deletions docs/data-types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ Data types

The data types of the :ref:`CrateDB DBAPI database API client <connect>`.

.. rubric:: Table of contents

.. contents::
:local:

.. _data-types-db-api:

Database API client
Expand Down
5 changes: 0 additions & 5 deletions docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ Getting started
Learn how to install and get started with the Python client library for
`CrateDB`_.

.. rubric:: Table of contents

.. contents::
:local:

Install
=======

Expand Down
8 changes: 1 addition & 7 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
CrateDB Python Client
#####################

.. rubric:: Table of contents

.. contents::
:local:
:depth: 1


************
Introduction
Expand Down Expand Up @@ -64,7 +58,7 @@ Connect to CrateDB instance running on ``localhost``.
from pprint import pp

query = "SELECT country, mountain, coordinates, height FROM sys.summits ORDER BY country;"

with client.connect("localhost:4200", username="crate") as connection:
cursor = connection.cursor()
cursor.execute(query)
Expand Down
5 changes: 0 additions & 5 deletions docs/query.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ Query CrateDB
Supplementary information about the CrateDB Database API client can be found
in the :ref:`data types appendix <data-types-db-api>`.

.. rubric:: Table of contents

.. contents::
:local:

.. _cursor:

Using a cursor
Expand Down