summaryrefslogtreecommitdiffstats
path: root/docs/update-redis-doc.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/update-redis-doc.md')
-rw-r--r--docs/update-redis-doc.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/update-redis-doc.md b/docs/update-redis-doc.md
new file mode 100644
index 0000000..2be45c0
--- /dev/null
+++ b/docs/update-redis-doc.md
@@ -0,0 +1,9 @@
+# How to Catch Up with Latest Redis-doc
+
+1. `git pull` in submodule.
+2. Overwrite `iredis/data/commands.json`.
+3. Diff with old `commands.json`, make the changes.
+4. `mv redis-doc/commands/*.md iredis/data/commands`
+5. `prettier --write --prose-wrap always iredis/data/commands/*.md`
+
+Done!