mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
docs(kconfig): Updated config name lenght
This commit is contained in:
parent
cc649ea869
commit
80be245982
@ -33,7 +33,7 @@ Format rules for Kconfig files are as follows:
|
||||
- Option names in any menus should have consistent prefixes. The prefix currently should have at least 3 characters.
|
||||
- The unit of indentation should be 4 spaces. All sub-items belonging to a parent item are indented by one level deeper. For example, ``menu`` is indented by 0 spaces, ``config`` ``menu`` by 4 spaces, ``help`` in ``config`` by 8 spaces, and the text under ``help`` by 12 spaces.
|
||||
- No trailing spaces are allowed at the end of the lines.
|
||||
- The maximum length of options is 40 characters.
|
||||
- The maximum length of options is 50 characters.
|
||||
- The maximum length of lines is 120 characters.
|
||||
|
||||
.. note::
|
||||
|
@ -33,7 +33,7 @@ Kconfig 文件的格式规定如下:
|
||||
- 在所有菜单中,选项名称的前缀需保持一致。目前,前缀长度应为至少 3 个字符。
|
||||
- 每级采用 4 个空格的缩进方式,子项需比父项多缩进一级。例如, ``menu`` 缩进 0 个空格,``menu`` 中的 ``config`` 则缩进 4 个空格, ``config`` 中的 ``help`` 缩进 8 个空格, ``help`` 下的文本缩进 12 个空格。
|
||||
- 行末不得出现尾随空格。
|
||||
- 选项最长为 40 个字符。
|
||||
- 选项最长为 50 个字符。
|
||||
- 每行最长为 120 个字符。
|
||||
|
||||
.. note::
|
||||
|
Loading…
Reference in New Issue
Block a user