Skip to content

Commit

Permalink
Use new Redis logo and website (#3233)
Browse files Browse the repository at this point in the history
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 <gabriel.erzse@redis.com>
  • Loading branch information
gerzse and gerzse committed May 20, 2024
1 parent cefc36e commit de8b570
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 43 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand All @@ -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)
10 changes: 10 additions & 0 deletions docs/_static/logo-redis.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 0 additions & 30 deletions docs/_static/redis-cube-red-white-rgb.svg

This file was deleted.

2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file removed docs/logo-redis.png
Binary file not shown.
2 changes: 1 addition & 1 deletion redis/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -5269,7 +5269,7 @@ def pubsub_shardnumsub(self, *args: ChannelT, **kwargs) -> 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(
Expand Down
4 changes: 2 additions & 2 deletions redis/commands/timeseries/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit de8b570

Please sign in to comment.