From 9d2fa2a1ee005dbe2c5c9e4dca57e58f5ece0c62 Mon Sep 17 00:00:00 2001 From: Brian Munkholm Date: Wed, 11 Jun 2025 13:53:47 +0200 Subject: [PATCH 1/3] Remove page-local TOC --- docs/connect.rst | 4 ---- docs/getting-started.rst | 4 ---- 2 files changed, 8 deletions(-) diff --git a/docs/connect.rst b/docs/connect.rst index 4ebce80..ea268f2 100644 --- a/docs/connect.rst +++ b/docs/connect.rst @@ -14,10 +14,6 @@ Connect to CrateDB using the :ref:`CrateDB Npgsql Plugin `. This software is a legacy plugin for older versions of CrateDB that lacked full compatibility with Npgsql. -.. rubric:: Table of contents - -.. contents:: - :local: Setup ===== diff --git a/docs/getting-started.rst b/docs/getting-started.rst index 793421f..3941b95 100644 --- a/docs/getting-started.rst +++ b/docs/getting-started.rst @@ -14,10 +14,6 @@ Install and get started with the :ref:`CrateDB Npgsql Plugin `. This software is a legacy plugin for older versions of CrateDB that lacked full compatibility with Npgsql. -.. rubric:: Table of contents - -.. contents:: - :local: Install ======= From 97485a61edcfba94872c346bcdbc0119d920670f Mon Sep 17 00:00:00 2001 From: Brian Munkholm Date: Wed, 11 Jun 2025 13:54:34 +0200 Subject: [PATCH 2/3] Move data-type out of appendix. --- docs/appendices/index.rst | 15 --------------- docs/connect.rst | 2 +- docs/{appendices => }/data-types.rst | 5 ----- docs/index.rst | 2 +- 4 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 docs/appendices/index.rst rename docs/{appendices => }/data-types.rst (98%) diff --git a/docs/appendices/index.rst b/docs/appendices/index.rst deleted file mode 100644 index 83e112e..0000000 --- a/docs/appendices/index.rst +++ /dev/null @@ -1,15 +0,0 @@ -.. _appendices: - -========== -Appendices -========== - -Supplementary information for the :ref:`CrateDB Npgsql Plugin -`. - -.. rubric:: Table of contents - -.. toctree:: - :maxdepth: 2 - - data-types diff --git a/docs/connect.rst b/docs/connect.rst index ea268f2..2ddc628 100644 --- a/docs/connect.rst +++ b/docs/connect.rst @@ -62,7 +62,7 @@ Use the standard `Npgsql documentation`_ for the rest of your setup process. .. SEEALSO:: - The plugin :ref:`data-types` appendix. + The plugin :ref:`data-types`. .. _connection string parameters: https://www.npgsql.org/doc/connection-string-parameters.html .. _DatabaseInfoFactory: https://www.npgsql.org/doc/api/Npgsql.Internal.NpgsqlDatabaseInfo.html diff --git a/docs/appendices/data-types.rst b/docs/data-types.rst similarity index 98% rename from docs/appendices/data-types.rst rename to docs/data-types.rst index 0988530..7dc3b21 100644 --- a/docs/appendices/data-types.rst +++ b/docs/data-types.rst @@ -4,11 +4,6 @@ Data types ========== -.. rubric:: Table of contents - -.. contents:: - :local: - .. _objects: Objects diff --git a/docs/index.rst b/docs/index.rst index 5210f32..c75ce87 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -26,7 +26,7 @@ demonstration program for using CrateDB with vanilla Npgsql`_. getting-started connect - appendices/index + data-types .. SEEALSO:: From 31f9f30be86d6d2fc4d74df690cfd8aae0d6583d Mon Sep 17 00:00:00 2001 From: Brian Munkholm Date: Wed, 11 Jun 2025 14:07:38 +0200 Subject: [PATCH 3/3] 1 level TOC in index --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index c75ce87..c3ab52f 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -22,7 +22,7 @@ demonstration program for using CrateDB with vanilla Npgsql`_. .. rubric:: Table of contents .. toctree:: - :maxdepth: 2 + :maxdepth: 1 getting-started connect