forked from mirrors/qmk_userspace
		
	Fixed non-executable codes in the documentation (#22600)
This commit is contained in:
		
					parent
					
						
							
								0d36977f3e
							
						
					
				
			
			
				commit
				
					
						87eaab600c
					
				
			
		
					 3 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
					@ -110,11 +110,11 @@ enum my_keycodes {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
開発環境をセットアップした場合は、プルリクエストを開く前に以下のコマンドを `qmk_firmware/` フォルダから実行することで、あなたの変更をプレビューすることができます:
 | 
					開発環境をセットアップした場合は、プルリクエストを開く前に以下のコマンドを `qmk_firmware/` フォルダから実行することで、あなたの変更をプレビューすることができます:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ./bin/qmk docs
 | 
					    qmk docs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
または、Python 3 のみがインストールされている場合:
 | 
					または、Python 3 のみがインストールされている場合:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    python3 -m http.server 8936
 | 
					    python3 -m http.server 8936 --directory docs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
その後、ウェブブラウザで、`http://localhost:8936/` を表示します。
 | 
					その後、ウェブブラウザで、`http://localhost:8936/` を表示します。
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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` 関数が無いのはなぜですか?
 | 
					## `*_kb` や `*_user` 関数が無いのはなぜですか?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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.
 | 
					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?!
 | 
					## Why are there no `*_kb` or `*_user` functions?!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue