From 55894dde582455372057f19304162110ad1193e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B8e?= Date: Thu, 20 Feb 2020 10:32:30 +0100 Subject: [PATCH] doc: Kconfig: Document how whitespace is used in Kconfig sources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Document how whitespace is used in Kconfig sources. This serves as an authoritative reference in code review. Signed-off-by: Sebastian Bøe --- doc/guides/kconfig/tips.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/guides/kconfig/tips.rst b/doc/guides/kconfig/tips.rst index 3dd91971618..ed29f34d2a0 100644 --- a/doc/guides/kconfig/tips.rst +++ b/doc/guides/kconfig/tips.rst @@ -807,6 +807,10 @@ A few formatting nits, to help keep things consistent: - Put a blank line before/after each top-level ``if`` and ``endif`` +- Use a single tab for each indentation + +- Indent help text with two extra spaces + Lesser-known/used Kconfig features **********************************