From 465fb1827210670051f424bcee32af37bc6f82f1 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 22 Jan 2025 07:41:27 -0500 Subject: [PATCH] doc: style: move cmake into style guidelines Consolidate all style guidelines into one place, moving cmake style guidelines under the contribute section. Signed-off-by: Anas Nashif --- doc/build/cmake/index.rst | 2 +- doc/{build/cmake/style.rst => contribute/style/cmake.rst} | 0 doc/contribute/style_guidelines.rst | 5 +++++ 3 files changed, 6 insertions(+), 1 deletion(-) rename doc/{build/cmake/style.rst => contribute/style/cmake.rst} (100%) diff --git a/doc/build/cmake/index.rst b/doc/build/cmake/index.rst index 8aa9405e74c..2b180eaa5d9 100644 --- a/doc/build/cmake/index.rst +++ b/doc/build/cmake/index.rst @@ -44,7 +44,7 @@ source file :file:`src/main.c`, behavior that we surely do not want. The paths of a target library. When introducing build system code using CMake or adding new CMake files, -please follow the style guidlines outline :ref:`here `. +please follow the style guidelines outlined :ref:`here `. Build and Configuration Phases diff --git a/doc/build/cmake/style.rst b/doc/contribute/style/cmake.rst similarity index 100% rename from doc/build/cmake/style.rst rename to doc/contribute/style/cmake.rst diff --git a/doc/contribute/style_guidelines.rst b/doc/contribute/style_guidelines.rst index 0a282afee22..2cd2f533423 100644 --- a/doc/contribute/style_guidelines.rst +++ b/doc/contribute/style_guidelines.rst @@ -4,6 +4,11 @@ Coding Style Guidelines ####################### +.. toctree:: + :maxdepth: 1 + + style/cmake.rst + C Code and General Style ************************