From 97cdc595c01dac96c91c4d443726230c081bbd44 Mon Sep 17 00:00:00 2001 From: Brett Date: Mon, 12 Feb 2024 14:16:45 +0100 Subject: [PATCH] remove 2.7 references unless that make sense to the context of the doc page --- doc/contributing/python.rst | 4 ++-- doc/contributing/unicode.rst | 2 +- doc/maintaining/background-tasks.rst | 5 +---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/doc/contributing/python.rst b/doc/contributing/python.rst index e7c72671f32..f457b893d8b 100644 --- a/doc/contributing/python.rst +++ b/doc/contributing/python.rst @@ -74,7 +74,7 @@ Imports Logging ------- -We use `the Python standard library's logging module `_ +We use `the Python standard library's logging module `_ to log messages in CKAN, e.g.:: import logging @@ -106,7 +106,7 @@ replacement field, for example:: _(' ... {foo} ... {bar} ...').format(foo='foo-value', bar='bar-value') -.. _new .format() method: http://docs.python.org/2/library/stdtypes.html#str.format +.. _new .format() method: https://docs.python.org/3/library/stdtypes.html#str.format Unicode handling diff --git a/doc/contributing/unicode.rst b/doc/contributing/unicode.rst index f53c72d0c93..3dcf7a91544 100644 --- a/doc/contributing/unicode.rst +++ b/doc/contributing/unicode.rst @@ -87,7 +87,7 @@ prefix. Simply use ``ur`` instead:: For more information on string prefixes please refer to the `Python documentation`_. -.. _Python documentation: https://docs.python.org/2.7/reference/lexical_analysis.html#string-literals +.. _Python documentation: https://docs.python.org/3/reference/lexical_analysis.html .. note:: diff --git a/doc/maintaining/background-tasks.rst b/doc/maintaining/background-tasks.rst index 5eb3fea4450..a180f49d38f 100644 --- a/doc/maintaining/background-tasks.rst +++ b/doc/maintaining/background-tasks.rst @@ -381,10 +381,7 @@ job ID, that will be done automatically for you. Supporting both systems at once ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Not all CKAN installations will immediately update to CKAN 2.7. It might -therefore make sense for you to support both the new and the old job system. -That way you are ready when the old system is removed but can continue to -support older CKAN installations. +It might make sense to support both the RQ and the old Celery-based job system. The easiest way to do that is to use `ckanext-rq `_, which provides a back-port of the