From 7ec81c59822dcfedac9f87e0db08a95694100fda Mon Sep 17 00:00:00 2001
From: atti <18576384+at6ue@users.noreply.github.com>
Date: Sun, 26 Nov 2023 17:53:47 +0900
Subject: [PATCH 1/2] Fix sample code

row and col are nested within key according to the following document,
https://docs.qmk.fm/#/custom_quantum_functions?id=process_record_-function-documentation
---
 docs/ja/tap_hold.md | 2 +-
 docs/tap_hold.md    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/ja/tap_hold.md b/docs/ja/tap_hold.md
index 00b80c8b22ca..c9d94d07ce2e 100644
--- a/docs/ja/tap_hold.md
+++ b/docs/ja/tap_hold.md
@@ -160,7 +160,7 @@ bool get_retro_tapping(uint16_t keycode, keyrecord_t *record) {
 
 「キー別」の関数全てにキーレコードを含んでいることに気付いたかもしれません。そしてなぜそうしたのか不思議に思っているかもしれません。
 
-まぁ、それは単純に本当にカスタマイズのためです。ただし、具体的には、それはキーボードの配線方法によって異なります。例えば、各行が実際にキーボードのマトリックスの1行を使っている場合、キーコード全体をチェックする代わりに、`if (record->event.row == 3)` を使うほうが簡単かもしれません。これは、ホームキー行でタップホールドタイプのキーを使っている人にとって特に便利です。そのため、通常のタイピングを妨げないように微調整することができるのではないでしょうか。
+まぁ、それは単純に本当にカスタマイズのためです。ただし、具体的には、それはキーボードの配線方法によって異なります。例えば、各行が実際にキーボードのマトリックスの1行を使っている場合、キーコード全体をチェックする代わりに、`if (record->event.key.row == 3)` を使うほうが簡単かもしれません。これは、ホームキー行でタップホールドタイプのキーを使っている人にとって特に便利です。そのため、通常のタイピングを妨げないように微調整することができるのではないでしょうか。
 
 ## `*_kb` や `*_user` 関数が無いのはなぜですか?
 
diff --git a/docs/tap_hold.md b/docs/tap_hold.md
index 094a10753a1a..18c90c6932c5 100644
--- a/docs/tap_hold.md
+++ b/docs/tap_hold.md
@@ -493,7 +493,7 @@ Examples:
 
 One thing that you may notice is that we include the key record for all of the "per key" functions, and may be wondering why we do that.
 
-Well, it's simple really: customization.  But specifically, it depends on how your keyboard is wired up.  For instance, if each row is actually using a row in the keyboard's matrix, then it may be simpler to use `if (record->event.row == 3)` instead of checking a whole bunch of keycodes.  Which is especially good for those people using the Tap Hold type keys on the home row. So you could fine-tune those to not interfere with your normal typing.
+Well, it's simple really: customization.  But specifically, it depends on how your keyboard is wired up.  For instance, if each row is actually using a row in the keyboard's matrix, then it may be simpler to use `if (record->event.key.row == 3)` instead of checking a whole bunch of keycodes.  Which is especially good for those people using the Tap Hold type keys on the home row. So you could fine-tune those to not interfere with your normal typing.
 
 ## Why are there no `*_kb` or `*_user` functions?!
 

From d27092e663ee5e2f6c336aa04bf3e6a42a29eb1e Mon Sep 17 00:00:00 2001
From: atti <18576384+at6ue@users.noreply.github.com>
Date: Sun, 3 Dec 2023 17:36:35 +0900
Subject: [PATCH 2/2] Fix build commands in Japanese document

---
 docs/ja/contributing.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/ja/contributing.md b/docs/ja/contributing.md
index 56cc4d312daa..ef1271ad160b 100644
--- a/docs/ja/contributing.md
+++ b/docs/ja/contributing.md
@@ -110,11 +110,11 @@ enum my_keycodes {
 
 開発環境をセットアップした場合は、プルリクエストを開く前に以下のコマンドを `qmk_firmware/` フォルダから実行することで、あなたの変更をプレビューすることができます:
 
-    ./bin/qmk docs
+    qmk docs
 
 または、Python 3 のみがインストールされている場合:
 
-    python3 -m http.server 8936
+    python3 -m http.server 8936 --directory docs
 
 その後、ウェブブラウザで、`http://localhost:8936/` を表示します。