From c047771e673836f6581ed8071e1e84e9224eab8d Mon Sep 17 00:00:00 2001 From: Gabriel Erzse Date: Mon, 20 May 2024 18:39:49 +0300 Subject: [PATCH] Use new Redis logo and website (#3233) Use the new logo, and use the SVG version of the logo in all places, including the README. Replace most of the redis.com URLs with their new redis.io counterparts. Co-authored-by: Gabriel Erzse --- README.md | 16 +++++------- docs/_static/logo-redis.svg | 10 ++++++++ docs/_static/redis-cube-red-white-rgb.svg | 30 ---------------------- docs/conf.py | 2 +- docs/logo-redis.png | Bin 8388 -> 0 bytes redis/commands/core.py | 2 +- redis/commands/timeseries/info.py | 4 +-- 7 files changed, 21 insertions(+), 43 deletions(-) create mode 100644 docs/_static/logo-redis.svg delete mode 100644 docs/_static/redis-cube-red-white-rgb.svg delete mode 100644 docs/logo-redis.png diff --git a/README.md b/README.md index 2097e87bba..ecd6cccd64 100644 --- a/README.md +++ b/README.md @@ -19,17 +19,15 @@ The Python interface to the Redis key-value store. ## How do I Redis? -[Learn for free at Redis University](https://university.redis.com/) +[Learn for free at Redis University](https://redis.io/university/) -[Build faster with the Redis Launchpad](https://launchpad.redis.com/) +[Try the Redis Cloud](https://redis.io/try-free/) -[Try the Redis Cloud](https://redis.com/try-free/) +[Dive in developer tutorials](https://redis.io/learn) -[Dive in developer tutorials](https://developer.redis.com/) +[Join the Redis community](https://redis.io/community/) -[Join the Redis community](https://redis.com/community/) - -[Work at Redis](https://redis.com/company/careers/jobs/) +[Work at Redis](https://redis.io/careers/) ## Installation @@ -159,7 +157,7 @@ The following example shows how to utilize [Redis Pub/Sub](https://redis.io/docs ### Author -redis-py is developed and maintained by [Redis Inc](https://redis.com). It can be found [here]( +redis-py is developed and maintained by [Redis Inc](https://redis.io). It can be found [here]( https://github.com/redis/redis-py), or downloaded from [pypi](https://pypi.org/project/redis/). Special thanks to: @@ -171,4 +169,4 @@ Special thanks to: system. - Paul Hubbard for initial packaging support. -[![Redis](./docs/logo-redis.png)](https://www.redis.com) +[![Redis](./docs/_static/logo-redis.svg)](https://redis.io) diff --git a/docs/_static/logo-redis.svg b/docs/_static/logo-redis.svg new file mode 100644 index 0000000000..a8de68d23c --- /dev/null +++ b/docs/_static/logo-redis.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/docs/_static/redis-cube-red-white-rgb.svg b/docs/_static/redis-cube-red-white-rgb.svg deleted file mode 100644 index 936eb231b9..0000000000 --- a/docs/_static/redis-cube-red-white-rgb.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 33a8589654..f66c5903ff 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -158,7 +158,7 @@ # The name of an image file (relative to this directory) to place at the top # of the sidebar. -html_logo = "_static/redis-cube-red-white-rgb.svg" +html_logo = "_static/logo-redis.svg" # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 diff --git a/docs/logo-redis.png b/docs/logo-redis.png deleted file mode 100644 index 45b4a3f284f3d10b558c2f77b75cd11739a117f7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8388 zcmV;#AUofQP){*UUUW>8NR9&-s{{|NFepXVdQPu3*ZO&7|9e z5FZdibkiZZB81rJy>RgoKR$+GT)`q;a8S~5VJT~)ES1c35z(9 z&7{XjxX&bfsTCo_6pr2t7uU31Aj2?B2^w0&vzat3Z7JSe22OFF#C+DkYcmYPG@giO zGwB`@?y-oj5*_5pI-g{B3&SuvX$TR|X42hcZ9}+EJHDJH67*Siw=fKol)4u2Y$n|= zgcvvIE=fY3f}ya^mp!{ShGA-ix)X7-y2nVoZMjR5!og66VPa7?B2H<6V{x)e+8=#f zq&hpr&81(8og3H9TwrvjNz4~rUkJl6{!`N;PC-iPE{Sb*r#d>t$(Mc}{Q2guej%>E zd|s@-`Wxlf!D4Xikxz@w)jtHUk&ql*Eo_}L3{#1k6miPw)*7U|>&ssecmCr)?f-w_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$S{mk8eYUDG*S+NK2Sx_ks^p7FdSFpN ResponseT: class ScriptCommands(CommandsProtocol): """ Redis Lua script commands. see: - https://redis.com/ebook/part-3-next-steps/chapter-11-scripting-redis-with-lua/ + https://redis.io/ebook/part-3-next-steps/chapter-11-scripting-redis-with-lua/ """ def _eval( diff --git a/redis/commands/timeseries/info.py b/redis/commands/timeseries/info.py index 3a384dc049..d86b92ace2 100644 --- a/redis/commands/timeseries/info.py +++ b/redis/commands/timeseries/info.py @@ -6,7 +6,7 @@ class TSInfo: """ Hold information and statistics on the time-series. Can be created using ``tsinfo`` command - https://oss.redis.com/redistimeseries/commands/#tsinfo. + https://redis.io/docs/latest/commands/ts.info/ """ rules = [] @@ -57,7 +57,7 @@ def __init__(self, args): Policy that will define handling of duplicate samples. Can read more about on - https://oss.redis.com/redistimeseries/configuration/#duplicate_policy + https://redis.io/docs/latest/develop/data-types/timeseries/configuration/#duplicate_policy """ response = dict(zip(map(nativestr, args[::2]), args[1::2])) self.rules = response.get("rules")