From 6e3e2ee85a33794b9b6ab67ea127d65b93c56ed5 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Tue, 21 Jan 2025 12:47:09 +0100 Subject: [PATCH] :alien: Fix broken redis link in docs (cherry picked from commit 41310f72ffcd099f9ab7ffac71dc01f98893b5d6) --- docs/conf.py | 7 ++++++- docs/installation/redis.rst | 8 ++++---- docs/manual/forms/examples/decision_tree.rst | 4 ++-- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index d86d344d5f..368d45d629 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -115,7 +115,12 @@ r"https://stackoverflow\.com/.*", # SO 403s when running on github actions :/ r"https://sequencediagram\.org/index\.html", # anchor are not server side r"https://www\.miniwebtool\.com/django-secret-key-generator/", # seems to block the requests user agent - r"https://json-schema\.org", # reached out to them, but no resolution yet + # our changelog generates many such links that slow down the link checks :) + r"https://github.com/open-formulieren/open-forms/issues/[0-9]+", +] + +linkcheck_anchors_ignore_for_url = [ + r"https://.*github.*", ] extlinks = { diff --git a/docs/installation/redis.rst b/docs/installation/redis.rst index 4a22e14615..d27e5dd072 100644 --- a/docs/installation/redis.rst +++ b/docs/installation/redis.rst @@ -26,7 +26,7 @@ certain period of time. By default, Redis will save the DB (see the default `red * After 300 seconds (5 minutes) if at least 100 changes were performed * After 60 seconds if at least 10000 changes were performed -.. _redis.conf file: https://redis.io/docs/management/config-file/ +.. _redis.conf file: https://redis.io/docs/latest/operate/oss_and_stack/management/config-file/ If Redis is abruptly terminated and any changes have not been written to the DB, the data will be lost. For Open-Forms, this means that Celery tasks that have been queued and have not yet been picked up by a worker might be lost. @@ -50,10 +50,10 @@ Other (more complex) solutions are also possible, but out-of-scope for this docu in the :ref:`installation_environment_config`). -.. _Redis sentinel: https://redis.io/docs/management/sentinel/ -.. _AOF: https://redis.io/docs/management/persistence/ +.. _Redis sentinel: https://redis.io/docs/latest/operate/oss_and_stack/management/sentinel/ +.. _AOF: https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/ .. _Redis cluster: https://redis.io/docs/latest/operate/oss_and_stack/management/scaling/ -.. _replication: https://redis.io/docs/management/replication/ +.. _replication: https://redis.io/docs/latest/operate/oss_and_stack/management/replication/ .. _different broker: https://docs.celeryq.dev/en/stable/getting-started/first-steps-with-celery.html#configuration Deploying multiple Redis instances diff --git a/docs/manual/forms/examples/decision_tree.rst b/docs/manual/forms/examples/decision_tree.rst index e5724552a2..b39aca6d81 100644 --- a/docs/manual/forms/examples/decision_tree.rst +++ b/docs/manual/forms/examples/decision_tree.rst @@ -71,8 +71,8 @@ Formulier maken * Tab **Weergave** - * "U betaald voor 1 hond hondenbelasting. U kunt het formulier - `hier `__ invullen." + * "U betaalt voor 1 hond hondenbelasting. U kunt het formulier + `hier `__ invullen." * Tab **Geavanceerd**