summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Mao <splatt9198@gmail.com>2020-10-02 16:42:11 -0700
committerGitHub <noreply@github.com>2020-10-03 00:42:11 +0100
commit9e9b604234ee58fb822c37a862de2340bf95faec (patch)
tree13b36159b85673ac8f6cd73ce11b436404901ff8
parenteb4cf713bcfe6bdfaea337c84cf1e9af78078711 (diff)
Mark 'key_count' as optional within info.json docs (#10513)
* Update reference_info_json.md key_count is now an optional field because it is better to get the keycount by counting the elements in the layout array. * Updated Japanese documentation as well
-rw-r--r--docs/ja/reference_info_json.md2
-rw-r--r--docs/reference_info_json.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/ja/reference_info_json.md b/docs/ja/reference_info_json.md
index 708f7c19ac..0fa1f9d3fe 100644
--- a/docs/ja/reference_info_json.md
+++ b/docs/ja/reference_info_json.md
@@ -36,7 +36,7 @@
* `height`
* オプション: キー単位でのレイアウトの高さ
* `key_count`
- * **必須**: このレイアウトのキーの数
+ * オプション: このレイアウトのキーの数
* `layout`
* 物理レイアウトを説明するキー辞書のリスト。詳細は次のセクションを見てください。
diff --git a/docs/reference_info_json.md b/docs/reference_info_json.md
index badfabd912..3ca62c719e 100644
--- a/docs/reference_info_json.md
+++ b/docs/reference_info_json.md
@@ -31,7 +31,7 @@ Within our `info.json` file the `layouts` portion of the dictionary contains sev
* `height`
* Optional: The height of the layout in Key Units
* `key_count`
- * **Required**: The number of keys in this layout
+ * Optional: The number of keys in this layout
* `layout`
* A list of Key Dictionaries describing the physical layout. See the next section for more details.