From 5f3284eed0682116d3c8e4e06ff115585902cccd Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Thu, 24 Mar 2022 18:41:11 +0100 Subject: [PATCH] fix broken links --- docs/api.rst | 2 +- docs/ecosystem.rst | 2 +- docs/errors.rst | 2 +- docs/install.rst | 2 +- docs/releases/v8.0.0.rst | 4 ++-- docs/schema_cache.rst | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index 1b886af09..727a2d315 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -1271,7 +1271,7 @@ A request with ``directors`` embedded: Embedding after Insertions/Updates/Deletions -------------------------------------------- -You can embed related resources after doing :ref:`insert_update` or :ref:`delete`. +You can embed related resources after doing :ref:`insert`, :ref:`update` or :ref:`delete`. Say you want to insert a **film** and then get some of its attributes plus embed its **director**. diff --git a/docs/ecosystem.rst b/docs/ecosystem.rst index 6ae4e1c9f..8283d6c69 100644 --- a/docs/ecosystem.rst +++ b/docs/ecosystem.rst @@ -22,7 +22,7 @@ Templates --------- * `compose-postgrest `_ - docker-compose setup with Nginx and HTML example -* `svelte-postgrest-template `_ - Svelte/SvelteKit, PostgREST, EveryLayout and social auth - `blog post `_ +* `svelte-postgrest-template `_ - Svelte/SvelteKit, PostgREST, EveryLayout and social auth .. _eco_example_apps: diff --git a/docs/errors.rst b/docs/errors.rst index 8024c1109..950c9a9fa 100644 --- a/docs/errors.rst +++ b/docs/errors.rst @@ -150,7 +150,7 @@ Related to the HTTP request elements. | PGRST101 | | +---------------+-------------------------------------------------------------+ | .. _pgrst102: | Related to the request body structure. | -| | See :ref:`insert_update`. | +| | See :ref:`insert` and :ref:`update`. | | PGRST102 | | +---------------+-------------------------------------------------------------+ | .. _pgrst103: | Related to :ref:`limits`. | diff --git a/docs/install.rst b/docs/install.rst index 5ab43ba11..c68ae1586 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -48,7 +48,7 @@ You can also use your OS package manager. .. group-tab:: Windows - You can install PostgREST using `Chocolatey `_ or `Scoop `_. + You can install PostgREST using `Chocolatey `_ or `Scoop `_. .. code:: bash diff --git a/docs/releases/v8.0.0.rst b/docs/releases/v8.0.0.rst index b99bd695f..bdaea4916 100644 --- a/docs/releases/v8.0.0.rst +++ b/docs/releases/v8.0.0.rst @@ -25,7 +25,7 @@ Added * Allow schema cache reloading using PostgreSQL :ref:`NOTIFY ` command. This enables :ref:`auto_schema_reloading`. |br| -- `@steve-chavez `_ -* Allow sending the header ``Prefer: headers-only`` to get a response with a ``Location`` header. See :ref:`insert_update`. +* Allow sending the header ``Prefer: headers-only`` to get a response with a ``Location`` header. See :ref:`insert`. |br| -- `@laurenceisla `_ * Allow :ref:`external_connection_poolers` such as PgBouncer in transaction pooling mode. @@ -78,7 +78,7 @@ Changed |br| -- `@steve-chavez `_ * POST requests for insertions no longer include a ``Location`` header in the response by default and behave the same way as having a - ``Prefer: return=minimal`` header in the request. This prevents permissions errors when having a write-only table. See :ref:`insert_update`. + ``Prefer: return=minimal`` header in the request. This prevents permissions errors when having a write-only table. See :ref:`insert`. |br| -- `@laurenceisla `_ * Modified the default logging level from ``info`` to ``error``. See :ref:`log-level`. diff --git a/docs/schema_cache.rst b/docs/schema_cache.rst index 9aa1f3a13..5e5fce3a6 100644 --- a/docs/schema_cache.rst +++ b/docs/schema_cache.rst @@ -16,7 +16,7 @@ in order to avoid repeating this work, PostgREST uses a schema cache. +--------------------------------------------+-------------------------------------------------------------------------------+ | :ref:`Upserts ` | Primary keys | +--------------------------------------------+-------------------------------------------------------------------------------+ -| :ref:`Insertions ` | Primary keys (optional: only if the Location header is requested) | +| :ref:`Insertions ` | Primary keys (optional: only if the Location header is requested) | +--------------------------------------------+-------------------------------------------------------------------------------+ | :ref:`OPTIONS requests ` | View INSTEAD OF TRIGGERS and primary keys | +--------------------------------------------+-------------------------------------------------------------------------------+