Skip to content

Move core documentation from valkey-doc into docs/ - #239

Open
madolson wants to merge 264 commits into
unstablefrom
move-docs-with-history
Open

madolson wants to merge 264 commits into
unstablefrom
move-docs-with-history

Conversation

@madolson

Copy link
Copy Markdown
Owner

This replaces #234 with the same final tree, but keeps valkey-doc's history since it forked from redis/redis-doc: a snapshot of the pages at the fork, 255 valkey-doc commits with their original authors and dates, then the 8 follow-up commits from 234. It has to land as a rebase, not a squash, which would collapse the history into one commit. That is blocked as one PR: GitHub refuses "Rebase and merge" above 100 commits and this has 264, so a maintainer has to pick a landing path (decision 1 below). The DCO check fails on 42 imported commits whose author sign-off is missing or uses another email, so a maintainer has to bypass it either way.

AI generated details

Supersedes #234. Epic: #233. Spec: valkey-io#4940.

Decisions

  1. Landing path, since one 264-commit PR can't be rebase merged. Proposal: review and approve this PR, then a maintainer with the unstable ruleset bypass rebases the branch onto current unstable locally and pushes it to valkey-io/valkey unstable as a fast-forward. That keeps history linear and lands in one step. The alternative is three stacked PRs of at most 100 commits, each rebase merged. It stays in the UI, but unstable sits for a while with docs/ imported and not yet licensed CC-BY-SA (the licensing commit is in the last part), and it needs three DCO bypasses.
  2. Old names. valkey-doc renamed most topics after the fork (the redis-doc docs/... tree flattened into topics/, then renames such as encryption.md to tls.md). Every historical name is written at the page's final path, so the snapshot already has docs/topics/acl.md and git log works without --follow. Proposal: keep. The alternative replays the renames and puts redis-doc's docs/management/... tree under docs/docs/ for a while. 74 renames were followed (git diff-tree -M); the weakest match is R054 topics/encryption.md to topics/tls.md, a real rename.

Counts

commits
snapshot at 7dbeb33c (439 of the 491 files) 1
replayed from valkey-doc (of 329 since the fork) 255
follow-ups from 234 8
total 264

The final tree is byte-identical to 234's head (empty git diff --stat below), so the website and man page integration builds done against 234 carry over unchanged. 234 stays open until the landing path is settled.

$ git log --follow --format='%h %an %ad %s' --date=short -- docs/commands/set.md | head
8392ab91e Viktor Söderqvist 2026-11-02 Move replies from resp{2,3}_replies.json into the markdown files (#518)
125987ffc Arshid 2026-10-01 Document SET IFNE option (#477)
0838f598a Linus Unnebäck 2025-06-13 Add docs for the DELIFEQ command (#307)
32dc07389 gmbnomis 2025-01-08 SET: Be more explicit about replies when using GET in conjunction with XX/NX/IFEQ (#206)
9fe2a13c4 zhaozhao.zz 2024-12-16 Explanation of issues when using GET and NX/XX/IFEQ together in SET command (#199)
a37a7fdc5 Sarthak Aggarwal 2024-12-10 Documentation for SET IFEQ (#189)
8b74b9d6f Viktor Söderqvist 2024-09-23 Remove the ```valkey-cli markers for CLI examples (#174)
537a25c75 Viktor Söderqvist 2024-05-05 Fix internal links (#86)
a7dbc73ab Viktor Söderqvist 2024-05-03 Insert command replies in CLI examples where missing (#77)
1daa96d66 Viktor Söderqvist 2024-04-23 Rebrand commands/*.md (#39)
$ git blame --date=short -L 1,8 docs/topics/tls.md
54335157ae (Madelyn Olson 2026-11-30 1) ---
54335157ae (Madelyn Olson 2026-11-30 2) title: "TLS"
e690c577c3 (Daniel House  2024-04-11 3) description: Valkey TLS support
54335157ae (Madelyn Olson 2026-11-30 4) ---
54335157ae (Madelyn Olson 2026-11-30 5)
e690c577c3 (Daniel House  2024-04-11 6) SSL/TLS is supported by Valkey as an optional feature
7fbe88202b (Yang Zhao     2026-02-03 7) that needs to be enabled at compile time. See the

Lines blamed on the snapshot predate the fork; their history is in valkey-io/valkey-doc.

Fork point

B = valkey-io/valkey-doc@7dbeb33, the last redis-doc commit (valkey-io#2686). Its child is valkey-doc's first own PR (#3), which redis/redis-doc doesn't have:

$ git log --format='%h %p %ad %s' --date=short -2 90620d34
90620d34 7dbeb33c 2024-03-24 Rename "Redis" to "PlaceHodlerKV" (#3)
7dbeb33c 51cd6df1 2024-03-15 Add new INFO evicted_scripts field and eval scripts eviction (#2686)
$ gh api repos/redis/redis-doc/commits/7dbeb33c0ec969a614f19530036acf526d5551c4 --jq .sha
7dbeb33c0ec969a614f19530036acf526d5551c4
$ gh api repos/redis/redis-doc/commits/90620d34
{"message":"No commit found for SHA: 90620d34", ... "status":"422"}
$ gh api repos/redis/redis-doc/compare/7dbeb33c0ec969a614f19530036acf526d5551c4...master --jq '.status,.behind_by'
ahead
0
$ git rev-list --count 7dbeb33c..7c5512ae; git rev-list --merges --count 7dbeb33c..7c5512ae
329
0

How the history was built

Each valkey-doc commit in 7dbeb33c..7c5512ae that touches these pages, filtered to them and written under docs/ (modules-nav/.yml and nav.yml become docs/nav.yml, groups.json becomes docs/groups.json). Original author, email, date and message are kept, with two trailers appended: Imported-from: valkey-io/valkey-doc@<sha> and Madelyn's sign-off for passing it on. Commits left empty are dropped. Script: plain git plumbing (diff-tree -M, update-index, commit-tree), no filter-repo.

Tree checks

The tree after the last replayed commit equals the old import commit, and the final tree equals the old PR head:

$ git diff --quiet b16f694ee a4f0a8d4d; echo $?
0
$ git diff --stat da772a5f4 HEAD
$ git rev-list --merges --count bb94c2ebd..HEAD
0
$ git rev-list --count bb94c2ebd..HEAD
264

DCO

Commits whose author email is in no Signed-off-by line (case-insensitive), the way the DCO app checks: 42. Left as they are; they are valkey-doc's merged history.

11e362351 Ping Xie <pingxie@google.com> 2024-04-03 Fix some more names in the doc (#4)
cd8c38475 Madelyn Olson <34459052+madolson@users.noreply.github.com> 2024-04-09 Remove Redis from docs that are referenced from conf files (#16)
b141d7486 Daniel House <76451671+daniel-house@users.noreply.github.com> 2024-04-09 rebrand [Rr]edis->[Vv]alkey (#24)
1ba11db3c Madelyn Olson <34459052+madolson@users.noreply.github.com> 2024-04-09 Remove all of Redis corporate branded references (#17)
6ed5c2208 Daniel House <76451671+daniel-house@users.noreply.github.com> 2024-04-10 rebrand (#21)
e690c577c Daniel House <76451671+daniel-house@users.noreply.github.com> 2024-04-11 Rebrand [Rr]edis->[Vv]alkey in TLS and sentinel pages (#23)
138d93b1b Dmitry Polyakovsky <dmitrypol@users.noreply.github.com> 2024-04-29 updated module docs to reference Valkey (#67)
435cd2d60 Roshan Khatri <117414976+roshkhatri@users.noreply.github.com> 2024-08-28 Update cluster-slots to explain the deterministic ordering (#159)
792e7b4e7 uriyage <78144248+uriyage@users.noreply.github.com> 2024-09-04 Update threaded IO info (#165)
239aa4479 Roshan Khatri <117414976+roshkhatri@users.noreply.github.com> 2024-09-09 Updating default make flags for make-settings in profiling section. (#170)
c34844443 Kyle Kim (kimkyle@) <105247741+kyle-yh-kim@users.noreply.github.com> 2024-11-18 Add CLUSTER SLOT-STATS document (#150)
a37a7fdc5 Sarthak Aggarwal <sarthakaggarwal97@gmail.com> 2024-12-10 Documentation for SET IFEQ (#189)
32dc07389 gmbnomis <gmbnomis@users.noreply.github.com> 2025-01-08 SET: Be more explicit about replies when using GET in conjunction with XX/NX/IFEQ (#206)
be396ab64 Rui Chen <rui@chenrui.dev> 2025-01-14 chore: improve the release schedule wording (#214)
b4cd820d6 zackcam <zackcam@amazon.com> 2025-04-02 Adding bloom command meta data, bloom group and bloom data type documentaion (#233)
152de8cb3 Jianhui Zhu <58247673+z-koki@users.noreply.github.com> 2025-04-16 Add details for testing RDMA server (#217)
facc0bdd5 Hiranmoy Das Chowdhury <49994927+HiranmoyChowdhury@users.noreply.github.com> 2025-05-05 valkey-cli: VALKEYCLI_AUTH env var rebranded (#271)
88fe7098c makubo-aws <makubo@amazon.com> 2025-06-11 Update modules-intro.md (#311)
8a05aa389 Sarthak Aggarwal <sarthagg@amazon.com> 2025-07-30 Valkey Quickstart Guide (#280)
bdb2f1877 skyfirelee <lizhiqiang.sf@bytedance.com> 2025-08-07 Support rps control for valkey-benchmark (#328)
861ed3719 Seungmin Lee <155032684+sungming2@users.noreply.github.com> 2025-08-22 Document avoid failure reports on already failed node (#351)
901ab050f Simon Baatz <gmbnomis@users.noreply.github.com> 2025-09-05 Add links to valkey.conf for releases 8.0 and 8.1 (#337)
f5b0936ff Harkrishn Patro <bunty.hari@gmail.com> 2025-10-10 Avoid indicating that cluster slots is being replaced by cluster shards (#366)
a74d39ca8 Satheesha CH Gowda <satheesha.balaji@gmail.com> 2025-10-14 Add shard id field to CLUSTER SHARDS response (#365)
5b9531491 Dragos Andriciuc <andriciucdragos@protonmail.com> 2025-10-22 Update `newkey` mention for correct functionality (#357)
0e46a5b12 Simon Baatz <gmbnomis@users.noreply.github.com> 2025-11-26 Add documentation for "SENTINEL FAILOVER COORDINATED" (#364)
db15de467 Roshan Khatri <117414976+roshkhatri@users.noreply.github.com> 2026-02-03 Adds documentation for HGETDEL (#389)
4e4cea3bf Luke Palmer <luke@lukepalmer.net> 2026-02-10 COPY returns 0 when the source key does not exist (#404)
4c519a105 bandalgomsu <q63630@daum.net> 2026-03-11 Add docs for availability-zone field in CLUSTER SHARDS/SLOTS (#420)
257c55856 Katie Holly <hsmhetnr@meo.ws> 2026-06-17 scan: add note for accumulation bias/snowplow effect (#452)
2e54f3ced Vasiliy Koshkin <61789920+melancholictheory@users.noreply.github.com> 2026-08-31 Document the ACL DIGEST command (#469)
ca9053b47 Yash Jadhav <95867159+lightsigma96@users.noreply.github.com> 2026-09-30 Document DELEX command (#490)
74cc6d29a Daniel Frankcom <daniel@frankcom.ca> 2026-10-19 Fix broken doc links (#502)
3105ab9d2 Satvik Mishra <89024979+SatvikMishra08@users.noreply.github.com> 2026-10-19 Fix broken Pub/Sub and data-types anchors in command docs (#504)
5e3edb71e Joe Heyburn <34041368+jdheyburn@users.noreply.github.com> 2026-11-06 Document the VALKEYCLI_USER environment variable (#539)
24d3fc6c9 Vasiliy Koshkin <61789920+melancholictheory@users.noreply.github.com> 2026-11-07 Document that ACL DIGEST covers roles (#535)
350421cf3 Harkrishn Patro <bunty.hari@gmail.com> 2026-11-17 Document cluster_io_* fields in CLUSTER INFO (#550)
aed4be10b mrchatam <287639636+mrchatam@users.noreply.github.com> 2026-11-17 docs: fix 'allows to build' grammar in cluster reshard note (#485)
980a67826 nitaicaro <42576749+nitaicaro@users.noreply.github.com> 2026-11-17 Add documentation for forkless operations (#454)
63322d289 nitaicaro <42576749+nitaicaro@users.noreply.github.com> 2026-11-17 Remove forkless_fallbacks_old_rdb_version from forkless docs (#563)
c6132fa86 valkeyrie-ops[bot] <284117741+valkeyrie-ops[bot]@users.noreply.github.com> 2026-11-19 Update documentation for Valkey 9.2.0 (#568)
42a7e3893 nitaicaro <42576749+nitaicaro@users.noreply.github.com> 2026-11-19 Add CONFIG INFO command documentation (#458)

Rebase merge test (madolson/valkey)

Scratch PRs into a branch at bb94c2e. GitHub refuses rebase merge above 100 commits:

#236 commits=264 rebaseable=false
#238 commits=101 rebaseable=false
#237 commits=100 rebaseable=true
$ gh api -X PUT repos/madolson/valkey/pulls/236/merge -f merge_method=rebase
{"message":"This branch can't be rebased","documentation_url":"https://docs.github.com/rest/pulls/pulls#merge-a-pull-request","status":"405"}
$ gh api -X PUT repos/madolson/valkey/pulls/237/merge -f merge_method=rebase
true 9c5780c847e245ef7a231c6706233f272872d560 Pull Request successfully merged

After merging #237: 100 commits, 0 merges, tree equal to the 100th branch commit, and author name, email, date and message identical for every commit (diff of git log --format='%an|%ae|%ad|%B' --date=raw on both ranges is empty). Only committer date and SHAs change, so the Imported-from trailers are the stable link back to valkey-doc. The fork has no rulesets, so this does not exercise upstream's DCO or linear-history rules. Scratch branches deleted.

This was generated by AI but verified, with love, by a human.

zuiderkwast and others added 30 commits November 30, 2026 08:38
This PR does the bulk of renaming:

* Remove "redis" in CLI prompt "redis 127.0.0.1:6379>"
* Change "Redis" to "Valkey" using Perl regex `Redis(?! compatibility|
v?[1-7]| version| < [1-7]| OSS|\.[a-z]|\w)`
* Replace filenames redis(-cli|-server|-benchmark|.conf) with valkey
equivalents
* Replace /etc/redis and /var/redis with valkey equivalent paths
* "redis_6379" -> "valkey_6379"

Part of #18

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@f4c80f2
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Add missing lib-name and lib-version to `CLIENT LIST`.

Signed-off-by: Chen Tianjie <TJ_Chen@outlook.com>

Imported-from: valkey-io/valkey-doc@c9337c1
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Replace "Redis" with "Valkey" where appropriate.

No other changes seem to be necessay in this directory.

Part of #18.

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@d9d07b1
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Commands used:

```
git grep-replace -P '^redis 127.0.0.1:6379>' '127.0.0.1:6379>'
git grep-replace -F 'https://redis.io/topics/' 'https://valkey.io/topics/'
git grep-replace -P 'redis(?=\.call|\.pcall|\.regis|\.set_repl)' server
git grep-replace -F 'non-clustered Redis version' 'non-clustered Valkey deployment'
git grep-replace -P 'Redis(?= compatibility| v?[2-7]| version| < [2-7])' 'Redis OSS'
git grep-replace -P 'Redis(?! compatibility| v?[2-7]| version| < [2-7]| OSS|\.[a-z]|\w)' Valkey
git grep-replace -P 'redis(?=-cli|-server|-benchmark|.conf)' valkey
```

One per commit. References to old Redis versions are kept as "Redis
OSS". We can go through them later.

Changes to `docs/reference/modules/modules-api-ref.md` can be ignored
since it's generated from module.c in the code repo, but OTOH it doesn't
harm to apply the changes to this too, and overwrite it later.

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@4971445
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Replace Redis with Valkey under docs/get-started/.

```
git grep-replace -P 'Redis(?! compatibility| v?[1-7]| version| < [1-7]| OSS|\.[a-z]|\w)' Valkey
git grep-replace -P 'redis(?=-cli|-server|-benchmark|.conf)' valkey
```

Plus some manual editing regarding FAQ about Redis name and history.

Part of #18.

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@9be51b2
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
All files under docs/management/

Replaces "Redis" with "Valkey".

Replaces filenames: redis-cli, redis-server, redis-benchmarks,
redis.conf.

Removes references to old Redis versions and rewrites sentences where
necessary.

Details per commit message.

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@70bbdc9
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Here is an attempt to writing some new information about Valkey.

Some other "about" pages were deleted and any relevant historic
information is included in the new "history" page.

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Co-authored-by: Madelyn Olson <madelyneolson@gmail.com>

Imported-from: valkey-io/valkey-doc@0be7e71
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
These files contain no text or just one line. I've checked that there
are no links to them.

We'll move files to `/topics/*.md` later and these index files per
directory will not be needed.

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@ff5517f
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fix docs for valkey-io#357

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@898b42f
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Manual changes to make sense of the document.

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@a3f9046
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
This massive change restores the `topics/page.md` structure of the doc
repo, as it was a few years ago.

This is done using a script that is shared in the PR in a comment. This is
what it does:

1. The "aliases" metadata field in each markdown file is used to find
the original "topics" filename. This is attempted for all files in the
repo with a metadata section.
2. For files that don't have a "topics/" alias, pick a topics name for
it, like this:
   * Do this only for files under "docs/".
* If the file path matches "..../NAME/_index.md", the new name is
"topics/NAME.md"
* Otherwise, the file path matches "..../NAME" and then the new name is
"topics/NAME". (This case covers png files and other non-markdown files
too.)
* If the filename includes 'redis', this is replaced by 'valkey'.
Examples:
`docs/getting-started/installation/install-redis-from-source.md` ->
`topics/install-valkey-from-source.md`
* (Special case: If the target file name ends up "topics.md", use
"topics/index.md" instead.)
3. Rename the files to the new names. Commit the the renames.
4. Update all links to files (renamed and not renamed), using all
aliases discovered using all files with a metadata section.
* The links are changed to relative links including the `.md` suffix.
This makes it possible to click around in the github web interface. It's
also good in other situations. For example, users can deploy the docs
(simply .md -> .html) and don't need to deploy the docs in the root
directory.
   * Examples:
* Change link: /docs/reference/cluster-spec => cluster-spec.md (in
topics/protocol.md)
* Change link: /topics/acl => ../topics/acl.md (in commands/auth.md)

Additional changes:

* Fix broken link in cluster tutorial
* Remove some stub files with no real content (commands/_index.md, resources/_index.md)

Fixes #30

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@baffe05
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fixes #18

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@4c00bbb
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
I did not just globally search and replace everything but only updated
docs that are relevant. If you see a mistake, please point it out and I
will fix it.

---------

Signed-off-by: Dmitry Polyakovsky <dmitry.polyakovky@oracle.com>
Co-authored-by: Dmitry Polyakovsky <dmitry.polyakovky@oracle.com>

Imported-from: valkey-io/valkey-doc@e2de3a4
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
The various pages (install for mac os, window, etc.) with very little
content and much duplicated information are merged into one.

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@93dcad4
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
* Rebranding
* Remove references to Redis corporate stuff
* Remove references to very old Redis versions
* Fix external links: change "http:" to "https:" where possible
* Fix some internal links
* Delete unused files
* Correction of the prompt in valkey-cli examples

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@7b78e3f
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
If i don't look closely the explanation in client-side-caching, I think
the Database term is ambiguous.
Because it can be thought of as the entire database, it would be better
to specify it as a valkey.

---------

Signed-off-by: NAM UK KIM <namuk2004@naver.com>

Imported-from: valkey-io/valkey-doc@6842a46
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
A starting point and overview of all the docs. Useful as a man page stating poing too.

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@88bb50a
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
For man pages, the idea is to prefix the topics pages with "valkey-".
The pages cli.md, benchmark.md, etc. then become the man pages for the
programs valkey-cli, valkey-benchmark, etc.

Some additional cleanup is included.

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@2050e2e
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Imported-from: valkey-io/valkey-doc@2cef38c
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Replace non-markdown code blocks like

    {{< clients-example stream_tutorial xgroup_create >}}
    > XGROUP CREATE race:france france_riders $
    OK
    {{< /clients-example >}}

with

    ```valkey-cli
    127.0.0.1:6379> XGROUP CREATE race:france france_riders $
    OK
    ```

Apart from changing the delimiters, the prompt is replaced with
`127.0.0.1:6379>` which is what valkey-cli display by default.

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@7014b93
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Replace code blocks without replies, such as ...

    ```cli
    EXISTS mykey
    APPEND mykey "Hello"
    APPEND mykey " World"
    GET mykey
    ```

... with proper valkey-cli sessions including prompt and reply, like
this:

    ```valkey-cli
    127.0.0.1:6379> EXISTS mykey
    (integer) 0
    127.0.0.1:6379> APPEND mykey "Hello"
    (integer) 5
    127.0.0.1:6379> APPEND mykey " World"
    (integer) 11
    127.0.0.1:6379> GET mykey
    "Hello World"
    ```

This was automated with a script actually running `valkey-cli` for each
command with `flushall` between the examples to make sure each example
starts clean.

**Additionally:** Replace `@examples` with a proper markdown heading `##
Examples`.

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@c3a2f33
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
This is to match what is normal for man pages for configs. `man
valkey.conf` would be the typical man page our config.

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@c608689
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fix the The self documented valkey.conf for Valkey OSS 7.2 link error

Signed-off-by: hwware <wen.hui.ware@gmail.com>

Imported-from: valkey-io/valkey-doc@c1ec9e3
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Signed-off-by: Marco Inacio <m@marcoinacio.com>
Imported-from: valkey-io/valkey-doc@31c517a
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
After validation, I discovered these internal links that were either
broken links, absolute paths or missing the .md suffix. All internal
links are now relative with the actual filename, .md for most of them.

There are some links to the directories `commands/`, `clients/` and
`modules/`. These pages (index.html) should be generated when deploying.

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@500dfe6
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Corresponding doc PR to valkey-io#327.

* `tot-net-in`: Total network input bytes read from this client. Added
in Valkey 8.0
* `tot-net-out`: Total network output bytes sent to this client. Added
in Valkey 8.0
* `tot-cmds`: Total count of commands this client executed. Added in
Valkey 8.0

---------

Signed-off-by: Chen Tianjie <TJ_Chen@outlook.com>

Imported-from: valkey-io/valkey-doc@569152c
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Doc PR for valkey-io#324

Signed-off-by: Chen Tianjie <TJ_Chen@outlook.com>

Imported-from: valkey-io/valkey-doc@cd328a5
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Should return `(integer) 2`, rather than `OK`.

Signed-off-by: Chen Tianjie <TJ_Chen@outlook.com>

Imported-from: valkey-io/valkey-doc@9b19dfc
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fixes four links like [name]() which are invalid. The link target were
lost in previous automatic changes.

Rename data-store.md to quickstart.md (it's original filename)

A few minor corrections.

Fixes #87

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>

Imported-from: valkey-io/valkey-doc@94f8706
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
A Makefile provides 'make' and 'make install' to generate and install
man pages.

Man pages are built for the binaries (valkey-cli, etc. prefixed by
"valkey-", section 1), Config (valkey.conf, section 4), Valkey 
commands (section 3valkey), documentation overview page
("valkey", section 7) and tutorials and everything else (prefixed
by "valkey-", section 7).

Scripts in Python are used for preprocessing and pandoc is used to
convert markdown to man pages, stored under utils/.

A target 'make html' is also provided, to build HTML pages to use
locally. This is also using pandoc.

The documentation pages for `valkey-cli`, `valkey-benchmark` and
`valkey-sentinel` are expanded with usage and options to match what's
expected from a man page for a program. A page for `valkey-server` is
added. (We didn't have one.)

README.md is update with info on how to build and install man pages.
Other info regarding the doc repo is slightly updated.

Additionally some unrelated smaller changes.

Fixes #69.

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Co-authored-by: Björn Svensson <bjorn.a.svensson@est.tech>
Co-authored-by: Madelyn Olson <madelyneolson@gmail.com>

Imported-from: valkey-io/valkey-doc@5f279b9
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Andriciuc and others added 27 commits November 30, 2026 08:38
This PR updates the ASM topic with ACL requirements from the following
blog post: valkey-io/valkey-io.github.io#636
written by @hieu2102

It includes explanations on the normal replication ACL behaviour, why
ASM differs, what is the required ACL, slight component explanations,
that ordering matters and a real failure message.

---------

Signed-off-by: Dragos Andriciuc <andriciucdragos@protonmail.com>
Imported-from: valkey-io/valkey-doc@5e6ab07
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Address issue:
valkey-io/valkey-doc#525 (comment)

Add documentation for the replication throttling feature introduced in
valkey-io#4356.

---------

Signed-off-by: harrylin98 <harrylin980107@gmail.com>
Signed-off-by: Harry Lin <49881386+harrylin98@users.noreply.github.com>
Co-authored-by: Jim Brunner <brunnerj@amazon.com>
Imported-from: valkey-io/valkey-doc@1efadbd
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Update topics/eval-intro.md and commands/script-load.md to describe
the EVAL script cache limits (500 scripts LRU since 8.0, and
maxmemory-scripts since 9.2) and the DENYOOM behavior of SCRIPT LOAD.

Closes valkey-io#527

Signed-off-by: Binbin <binloveplay1314@qq.com>
Imported-from: valkey-io/valkey-doc@0804ed6
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
> **Draft: do not merge yet.** This PR depends on two other changes. See
[Dependencies and merge order](#dependencies-and-merge-order).

## Summary

Add documentation for the
[valkey-large-object](https://github.com/valkey-io/valkey-large-object)
module. The module stores large binary values, for example ML KV-cache
blocks, tensors and file blobs, in DRAM or in DRAM plus local NVMe disk,
with optional RDMA transfers to and from client memory.

- **Command reference:** one page for each of the six `BLOB.*` commands
(`BLOB.TCP_SET`, `BLOB.TCP_GET`, `BLOB.RDMA_HELLO`, `BLOB.RDMA_SET`,
`BLOB.RDMA_GET`, `BLOB.INFO`), each with a `## Reply` section in the
style of valkey-io#518, in a new "Large object" command group (`groups.json`).
- **Topic section**, in the same pattern as the Valkey Search pages:
- `topics/large-object.md`: overview, key concepts, limitations,
security
- `topics/large-object-getting-started.md`: requirements, build, load,
first commands, troubleshooting
  - `topics/large-object-use-cases.md`: use cases and examples
- `topics/large-object-rdma.md`: RDMA transfers, and how they differ
from Valkey RDMA connections
- `topics/large-object-configuration.md`: configuration, eviction, ACL,
INFO fields
- **Site integration:** `modules.json` and
`modules-nav/valkey-large-object.yml` entries, links from
`data-types.md`, `quickstart.md` and `RDMA.md`, `wordlist` additions,
and the Makefile, README and man-page workflow changes to build the
module's man pages when `VALKEY_LARGE_OBJECT_ROOT` is set (the same way
as the other modules).
- **Version note:** `modules.json` has a `version_notice` text for the
module: "valkey-large-object is at version 0.x. Commands, arguments,
replies, and configuration can change before version 1.0." The topic
pages show it, and the website change shows it at the top of each
`BLOB.*` command page.

## Dependencies and merge order

1. **valkey-io/valkey-large-object#197** adds the command metadata
(`src/commands/blob.*.json`). The website and the man-page build read
the command title, usage, arguments, ACL categories and "Since module
version" from these files.
2. **valkey-io/valkey-io.github.io#764**, the valkey.io website change:
adds the module's command JSON directory to the build, the module row
and the version note on the command pages, and the "Large object" docs
menu section.
3. **This PR.**

A merge to `main` here starts a site deploy. If this PR merges before 1
and 2 are live, the new command pages show "ERROR. Command JSON Not
loaded."

## Testing

- `spellchecker` with the repository configuration: clean.
- `utils/check-links.pl`: no broken links (the existing orphan
`topics/search-monitoring.md` is not part of this PR).
- The pages were built locally with the valkey.io site and the website
change, with Zola 0.23.6: the command index group, the six command
pages, the version note, the docs menu section and the topic pages
render, with no broken internal links or anchors.
- The example transcripts were run against a live Valkey server with the
module loaded.
- The man-page `make` was not run locally (no pandoc).

Signed-off-by: Kevin McGehee <mcgehee@amazon.com>
Imported-from: valkey-io/valkey-doc@2c536f0
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Part of valkey-io#528.

Documents the cluster bus I/O offload counters added to `CLUSTER INFO`
in Valkey 9.2 (valkey-io#3438):

- `cluster_io_threaded_reads_processed`: cluster bus reads completed by
the I/O threads.
- `cluster_io_threaded_writes_processed`: cluster bus writes completed
by the I/O threads.
- `cluster_io_threaded_accepts_processed`: inbound cluster bus TLS
accepts completed by the I/O threads. Outbound TLS handshakes are not
offloaded.
- `cluster_io_main_thread_fallbacks`: operations run on the main thread
because no I/O threads were active or the job queue was full. Since I/O
threads activate only under load, most cluster bus I/O on a lightly
loaded node is expected to land here.

The fields are always present in the reply, so they are added to the
example output and the always-present field list.

Signed-off-by: Harkrishn Patro <h_patro@apple.com>
Imported-from: valkey-io/valkey-doc@85b2827
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Document the `AUTH username password` option added to `CLUSTER
MIGRATESLOTS` in Valkey 9.2.0, including the default username and
fallback to configured credentials.

Addresses the CLUSTER MIGRATESLOTS item in valkey-io#530. Implementation:
valkey-io#3538.

Validation: `./utils/check-links.pl` (no broken links) and `git diff
--check`.

---------

Signed-off-by: Vasily Nemtsov <13330571+nemtsv@users.noreply.github.com>
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Co-authored-by: Madelyn Olson <madelyneolson@gmail.com>
Imported-from: valkey-io/valkey-doc@88a8630
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Depends on valkey-io#3717

Signed-off-by: Petr Khartskhaev <pkhartsk@redhat.com>

Approved and merged.

Imported-from: valkey-io/valkey-doc@9c04021
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Documents the `IFEQ`, `IFNE`, `NX` and `XX` conditions added to `EXEC`
in valkey-io#4019, in `commands/exec.md` and
`topics/transactions.md`.
Covers the syntax, the Null reply when a condition doesn't match, the
`EXECABORT` errors, and how conditions combine with `WATCH`.

Closes valkey-io#524

---------

Signed-off-by: Su Ko <rhtn1128@gmail.com>
Imported-from: valkey-io/valkey-doc@df7de89
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
…y-io#562)

valkey-io#5340 removed `hotkeys_last_window_samples` and
`hotkeys_last_window_duration_ms`, and with them the whole `# Hotkeys`
INFO section, on the grounds that neither field told an operator
anything actionable when HOTKEYS GET is already the output. The fields
only ever shipped in the 9.2 release candidates.

Removes the hotkeys section from commands/info.md and its entry from
that page's section list, and the topic's Monitoring section, which
existed only to point at those fields.

HOTKEYS GET's qps description cited the duration field as the span it
divides by. That span is still the window's measured duration —
hotkeysGetCommand still reads spaceSavingManagerFrozenDurationUs — it is
simply no longer observable through INFO, so the sentence now states the
fact without the citation.

Signed-off-by: Alon Arenberg <alonare@amazon.com>
Imported-from: valkey-io/valkey-doc@39a17bf
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
…-io#561)

valkey-io/valkey-io.github.io#742 replaces the old /docs/ landing menu
with the topics index, and that menu was the only docs link to Valkey
Admin. This adds it to the topics index under Core Management, next to
valkey-cli, with the description the old menu used.

This was generated by AI but verified, with love, by a human.

Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Imported-from: valkey-io/valkey-doc@e12b22e
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
…o#485)

Fixes valkey-io#484

Fix non-idiomatic grammar in the cluster reshard automation note:

- before: "This allows to build some automatism"
- after: "This allows you to build some automatism"

Docs-only, one-line change.

Signed-off-by: mrchatam <mrchatam@users.noreply.github.com>
Co-authored-by: mrchatam <mrchatam@users.noreply.github.com>
Imported-from: valkey-io/valkey-doc@f0e172c
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Add a documentation page covering forkless operations

---------

Signed-off-by: Nitai Caro <caronita@amazon.com>
Co-authored-by: Nitai Caro <caronita@amazon.com>
Imported-from: valkey-io/valkey-doc@566206a
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
…io#563)

To be merged after valkey-io#5461

Signed-off-by: Nitai Caro <caronita@amazon.com>
Co-authored-by: Nitai Caro <caronita@amazon.com>
Imported-from: valkey-io/valkey-doc@a421273
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fixes valkey-io#523

In the command.md, covers:
- Basic description of the command
- Options 
- Response
- Examples
- Patterns

Also modified, notifications.md as INCREX will send incrby and
incrbyfloat notifications.

---------

Signed-off-by: Gavin D'mello <dmellogavin5000@gmail.com>
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Co-authored-by: Madelyn Olson <madelyneolson@gmail.com>
Imported-from: valkey-io/valkey-doc@3bc9b0e
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
This PR updates documentation for version `9.2.0`.

## Changes
- Updated VERSION and DATE in Makefile
- Ran the ruby script to extract module API docs
- Updated the List of supported versions in the doc repo
- Added new valkey.conf link

This pull request is created automatically by the
[Valkey-Release-Automation](https://github.com/valkey-io/valkey-release-automation)

---------

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sarthak Aggarwal <sarthagg@amazon.com>
Imported-from: valkey-io/valkey-doc@ecb8ddf
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Add documentation for the new CONFIG INFO subcommand introduced in
valkey-io#3050. Describes the command's usage, response format,
supported types (bool, numeric, string, enum, special), flags, alias
handling, and use cases.

---------

Signed-off-by: Nitai Caro <caronita@amazon.com>
Co-authored-by: Nitai Caro <caronita@amazon.com>
Imported-from: valkey-io/valkey-doc@f594208
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fixes places where the docs describe behavior the server doesn't have.
Checked against valkey-io/valkey `unstable` @ 6c11c7f and on a local
server.

- transactions: a partial MULTI/EXEC at the end of the AOF doesn't
always stop the server. with `aof-load-truncated yes` (the default) it
reverts the transaction, truncates the AOF and starts, it only exits
with `no`
- CLIENT PAUSE: both `ALL` and `WRITE` stop propagation to replicas.
replica connections aren't paused and still get PINGs, so "interactions
with replicas will continue normally" and "WRITE will stop all
replication traffic" are both replaced
- clients: the query buffer limit is `client-query-buffer-limit` (1 GB
default, can be changed at runtime). since 8.0 a client that hasn't
authenticated is capped at 1 MB regardless of the setting when auth is
required
- MONITOR: AUTH isn't excluded, AUTH and HELLO show up with their
credentials as `"(redacted)"`. also removed "QUIT is also not logged"
since QUIT does show up
- HELLO: `server`/`version` are "valkey" and the Valkey version starting
with 8.0, and "redis"/"7.2.4" only with `extended-redis-compatibility
yes`. 7.2 still reports "redis". examples now show `valkey` / `9.2.0`

---------

Signed-off-by: Dante Knowles <xdk@amazon.com>
Imported-from: valkey-io/valkey-doc@d82b1b6
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
…#537)

Regenerated `topics/modules-api-ref.md` from valkey `unstable` with
`utils/generate-module-api-doc.rb`.
Also adds `used_memory_module_external` to the debug section of
`commands/info.md`

Closes valkey-io#529

Signed-off-by: Su Ko <rhtn1128@gmail.com>
Imported-from: valkey-io/valkey-doc@db59d55
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Fixes valkey-io#564

This PR updates command man-page examples so they match the output of a
current unstable build. The documented outputs were verified by building
Valkey unstable (commit `3fc96b1f5f361901607a3d65d851b61fd4f5754f`) and
replaying every example from these pages against a live server.

Changes:

1. **`commands/hgetex.md`** — repair the malformed prompt
`27.0.0.1:6379>` → `127.0.0.1:6379>`.
2. **`commands/hgetdel.md`** — the example passes `FIELDS 3` with two
fields; the server answers `(error) ERR numfields should be greater than
0 and match the provided number of fields`, not `(error) ERR syntax
error`.
3. **`commands/acl-log.md`** — update the stale `WRONGPASS` error text
(`acl.c` now appends `or user is disabled.`); restore the full
`127.0.0.1:6379> ` prompt for `ACL LOG 1`; refresh the `client-info`
entry with the fields the server now emits (`capa=`, `watch=`,
`lib-name=`, `lib-ver=`, `tot-net-in=`, `tot-net-out=`, `tot-cmds=`).
4. **`commands/acl-dryrun.md`** — render the simple-status replies of
`ACL SETUSER` and `ACL DRYRUN` as unquoted `OK`, consistent with
`acl-digest.md`, `acl-getrole.md`, `acl-delrole.md`, and
`acl-setuser.md`. The bulk-string denial reply remains quoted.
5. **`commands/acl-getuser.md`** — same unquoted `OK` fix.
6. **`commands/client-info.md`** — append the `tot-net-in=`,
`tot-net-out=`, `tot-cmds=` fields to the example.
7. **`commands/command-count.md`** — update the example count from `241`
to `274`.

Illustrative but version-independent values in the examples (ports, ids,
timestamps) were left untouched on purpose.

Signed-off-by: ZYboshi <2389083403@qq.com>
Imported-from: valkey-io/valkey-doc@7c5512a
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
The documentation imported from valkey-doc is CC-BY-SA-4.0 (valkey-doc
LICENSE and COPYRIGHT). Add the license text and a REUSE.toml annotation
for docs/**. The last matching annotation wins, so docs/ no longer
resolves to the repo-wide BSD-3-Clause annotation. precedence = override
ignores copyright lines quoted inside doc text, such as the CRC16 sample
in docs/topics/cluster-spec.md.

Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Module topics now live in the module repositories, and modules-api-ref
is generated by the website from src/module.c. Relative links to them
from core topics would break when browsing docs/ on GitHub, so point
them at https://valkey.io/topics/<name>/ instead.

Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
The clients page stays in valkey-doc, so ../clients/ no longer resolves
when browsing docs/topics/ on GitHub.

Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Command and topic pages now live in docs/, so contributor guides, the
issue template, review instructions and the systemd units should stop
sending people to valkey-doc. Man pages are still built from valkey-doc.
The vendored deps/libvalkey reference is left as is.

Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
The repo-wide typos check fails on the imported docs: 23 hits, some
false positives (oll, fo, AKE) and some real typos. Port valkey-doc's
spellchecker-cli check and its wordlist, which pass on the docs as
imported, and exclude docs/ and the wordlist from typos. The wordlist
comes from valkey-doc, so it is CC-BY-SA-4.0 like docs/.

Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
valkey.io is built from docs/ and src/commands/ on unstable. Send the
same repository_dispatch that valkey-doc sends today, using the
Valkeyrie bot app token on valkey-io and DEPLOY_ACCESS_TOKEN elsewhere.

Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
The heavy workflows already ignore **/*.md. docs/ also holds images,
nav.yml and groups.json, so ignore docs/** too. The only required
status check on unstable is DCO, so skipped workflows cannot leave a
required check pending.

Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
valkey-doc's README described the link conventions, the reply section, the
menu and the styling rules for commands/ and topics/. Those files are here
now, and the valkey-doc PR that deletes them drops the guide, so keep it
next to the docs, adapted to the new paths.

Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
@madolson madolson added the needs-review Staged work waiting on madolson's review label Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review Staged work waiting on madolson's review

Projects

None yet

Development

Successfully merging this pull request may close these issues.