From f7c5969f5e62c43de64fdabc5cfb79013729a178 Mon Sep 17 00:00:00 2001 From: Jakub Kocka Date: Fri, 2 Feb 2024 10:29:59 +0100 Subject: [PATCH] docs(kconfig): Updated config name lenght --- docs/en/api-reference/kconfig.rst | 2 +- docs/zh_CN/api-reference/kconfig.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/api-reference/kconfig.rst b/docs/en/api-reference/kconfig.rst index 14c54d498e..dc130408b0 100644 --- a/docs/en/api-reference/kconfig.rst +++ b/docs/en/api-reference/kconfig.rst @@ -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:: diff --git a/docs/zh_CN/api-reference/kconfig.rst b/docs/zh_CN/api-reference/kconfig.rst index 83d774b8ac..7590f27b40 100644 --- a/docs/zh_CN/api-reference/kconfig.rst +++ b/docs/zh_CN/api-reference/kconfig.rst @@ -33,7 +33,7 @@ Kconfig 文件的格式规定如下: - 在所有菜单中,选项名称的前缀需保持一致。目前,前缀长度应为至少 3 个字符。 - 每级采用 4 个空格的缩进方式,子项需比父项多缩进一级。例如, ``menu`` 缩进 0 个空格,``menu`` 中的 ``config`` 则缩进 4 个空格, ``config`` 中的 ``help`` 缩进 8 个空格, ``help`` 下的文本缩进 12 个空格。 - 行末不得出现尾随空格。 -- 选项最长为 40 个字符。 +- 选项最长为 50 个字符。 - 每行最长为 120 个字符。 .. note::