diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8e0e3dec68..6dd92e8791 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -82,9 +82,9 @@ There is also an active community of Redis users at Stack Overflow: https://stackoverflow.com/questions/tagged/redis -Issues and pull requests for documentation belong on the redis-doc repo: +Issues and pull requests for documentation belong on the `docs` repo: - https://github.com/redis/redis-doc + https://github.com/redis/docs If you are reporting a security bug or vulnerability, see SECURITY.md. diff --git a/src/commands/README.md b/src/commands/README.md index 5ef9a3f290..a0e10aeeba 100644 --- a/src/commands/README.md +++ b/src/commands/README.md @@ -4,7 +4,7 @@ Each JSON contains all the information about the command itself, but these JSON Any third party who needs access to command information must get it from `COMMAND INFO` and `COMMAND DOCS`. The output can be extracted in a JSON format by using `redis-cli --json`, in the same manner as in `utils/generate-commands-json.py`. -The JSON files are used to generate commands.def (and https://github.com/redis/redis-doc/blob/master/commands.json) in Redis, and +The JSON files are used to generate commands.def (and https://github.com/redis/docs/blob/main/data/commands.json) in Redis, and despite looking similar to the output of `COMMAND` there are some fields and flags that are implicitly populated, and that's the reason one shouldn't rely on the raw files. diff --git a/src/zmalloc.c b/src/zmalloc.c index 5b84ccb07f..61f428aef2 100644 --- a/src/zmalloc.c +++ b/src/zmalloc.c @@ -962,7 +962,7 @@ size_t zmalloc_get_frag_smallbins(void) { * * refresh_stats indicates whether to refresh cached statistics. * For the meaning of the other parameters, please refer to the function implementation - * and INFO's allocator_* in redis-doc. */ + * and INFO's allocator_* at https://redis.io/docs/latest/commands/info/ */ int zmalloc_get_allocator_info(int refresh_stats, size_t *allocated, size_t *active, size_t *resident, size_t *retained, size_t *muzzy, size_t *frag_smallbins_bytes) { @@ -1015,7 +1015,7 @@ int zmalloc_get_allocator_info(int refresh_stats, size_t *allocated, size_t *act * * refresh_stats indicates whether to refresh cached statistics. * For the meaning of the other parameters, please refer to the function implementation - * and INFO's allocator_* in redis-doc. */ + * and INFO's allocator_* at https://redis.io/docs/latest/commands/info/ */ int zmalloc_get_allocator_info_by_arena(unsigned int arena, int refresh_stats, size_t *allocated, size_t *active, size_t *resident, size_t *frag_smallbins_bytes) {