Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update reference_info_json.md #10513

Merged
merged 2 commits into from
Oct 2, 2020
Merged

Update reference_info_json.md #10513

merged 2 commits into from
Oct 2, 2020

Conversation

MudkipMao
Copy link
Contributor

key_count is now an optional field because it is better to get the keycount by counting the elements in the layout array.

Description

This came up on one of my pull requests, I just wanted to update it here so the documentation matches

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

key_count is now an optional field because it is better to get the keycount by counting the elements in the layout array.
Copy link
Member

@noroadsleft noroadsleft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you be able to update docs/ja/reference_info_json.md on Line 39 to:

   * オプション: このレイアウトのキーの数

I was actually about to make a PR for this exact change of marking key_count as optional, but thankfully I found your PR first.

@MudkipMao
Copy link
Contributor Author

Updated the Japanese documentation as well

@noroadsleft noroadsleft requested a review from a team October 2, 2020 23:14
@zvecr zvecr merged commit 9e9b604 into qmk:master Oct 2, 2020
@zvecr
Copy link
Member

zvecr commented Oct 2, 2020

Thanks!

rgoulter pushed a commit to rgoulter/qmk_firmware that referenced this pull request Oct 4, 2020
* 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
kjganz pushed a commit to kjganz/qmk_firmware that referenced this pull request Oct 28, 2020
* 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
oscarcarlsson pushed a commit to oscarcarlsson/qmk_firmware that referenced this pull request Nov 2, 2020
* 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
openfirmware added a commit to openfirmware/qmk_firmware that referenced this pull request Dec 10, 2020
The longer name will make it clearer where the define is kept in
the keyboards directory.

`key_count` is removed as it is optional (qmk#10513) and can be
auto-counted by reading the layout array.
BorisTestov pushed a commit to BorisTestov/qmk_firmware that referenced this pull request May 23, 2024
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants