Skip to content

Commit ab43ee1

Browse files
committed
docs: add redirect of the moved postgis section
In 055921e, we missed redirecting the old link to the new one. Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
1 parent 2ab2ea2 commit ab43ee1

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

docs/how-tos/working-with-postgresql-data-types.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,3 +471,20 @@ You can use other comparative filters and also all the `PostgreSQL special date/
471471
"due_date": "2022-02-27T06:00:00-05:00"
472472
}
473473
]
474+
475+
.. raw:: html
476+
477+
<script type="text/javascript">
478+
let hash = window.location.hash;
479+
480+
const redirects = {
481+
// PostGIS
482+
'#postgis': '../integrations/postgis.html#postgis',
483+
};
484+
485+
let willRedirectTo = redirects[hash];
486+
487+
if (willRedirectTo) {
488+
window.location.href = willRedirectTo;
489+
}
490+
</script>

0 commit comments

Comments
 (0)