From 20b8025b456db33abb6a3587482d06ac76b5e072 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sat, 22 Feb 2025 16:10:44 +0100 Subject: [PATCH] docs: Fix outdated links --- docs/conf.py | 3 +-- docs/ecosystem.rst | 2 +- docs/explanations/db_authz.rst | 2 +- docs/index.rst | 2 +- docs/integrations/greenplum.rst | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index aff92d22b..4b1e01771 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -287,8 +287,7 @@ def setup(app): app.add_css_file("css/custom.css") -# taken from https://github.com/sphinx-doc/sphinx/blob/82dad44e5bd3776ecb6fd8ded656bc8151d0e63d/sphinx/util/requests.py#L42 -user_agent = "Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0" +user_agent = "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0" # sphinx-tabs configuration sphinx_tabs_disable_tab_closing = True diff --git a/docs/ecosystem.rst b/docs/ecosystem.rst index 423f0341b..36640d809 100644 --- a/docs/ecosystem.rst +++ b/docs/ecosystem.rst @@ -87,7 +87,7 @@ Client-Side Libraries * `postgrest-go `_ - Go * `postgrest-js `_ - TypeScript/JavaScript * `postgrest-kt `_ - Kotlin -* `postgrest-py `_ - Python +* `postgrest-py `_ - Python * `postgrest-rs `_ - Rust * `postgrest-swift `_ - Swift * `redux-postgrest `_ - TypeScript/JS, client integrated with (React) Redux. diff --git a/docs/explanations/db_authz.rst b/docs/explanations/db_authz.rst index eb6b3041b..3f290b69b 100644 --- a/docs/explanations/db_authz.rst +++ b/docs/explanations/db_authz.rst @@ -15,7 +15,7 @@ Roles for Each Web User PostgREST can accommodate either viewpoint. If you treat a role as a single user then the :ref:`jwt_impersonation` does most of what you need. When an authenticated user makes a request PostgREST will switch into the database role for that user, which in addition to restricting queries, is available to SQL through the :code:`current_user` variable. -You can use row-level security to flexibly restrict visibility and access for the current user. Here is an `example `_ from Tomas Vondra, a chat table storing messages sent between users. Users can insert rows into it to send messages to other users, and query it to see messages sent to them by other users. +You can use row-level security to flexibly restrict visibility and access for the current user. Here is an `example `_ from Tomas Vondra, a chat table storing messages sent between users. Users can insert rows into it to send messages to other users, and query it to see messages sent to them by other users. .. code-block:: postgres diff --git a/docs/index.rst b/docs/index.rst index feac0a29e..482080a28 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -33,7 +33,7 @@ Sponsors :width: 13em .. image:: _static/gnuhost.png - :target: https://gnuhost.eu/?utm_source=sponsor&utm_campaign=postgrest + :target: https://euronodes.com/?utm_source=sponsor&utm_campaign=postgrest :width: 13em | diff --git a/docs/integrations/greenplum.rst b/docs/integrations/greenplum.rst index c8f02242e..d8d636671 100644 --- a/docs/integrations/greenplum.rst +++ b/docs/integrations/greenplum.rst @@ -1,6 +1,6 @@ Greenplum ######### -`Greenplum `_ has been reported to work by adding ``LOGIN`` to the :ref:`anonymous and user roles `. +`Greenplum `_ has been reported to work by adding ``LOGIN`` to the :ref:`anonymous and user roles `. For more details, see https://github.com/PostgREST/postgrest/issues/2021.