From patchwork Mon Oct 21 10:24:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 2199 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id CF77960BE0 for ; Mon, 21 Oct 2019 12:25:04 +0200 (CEST) Received: from pendragon.ideasonboard.com (143.121.2.93.rev.sfr.net [93.2.121.143]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0F9A54F7 for ; Mon, 21 Oct 2019 12:25:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1571653504; bh=YWEw98PTwKmtE+bOnolSNFbNkJwJLCNvOOm+e7sGQpg=; h=From:To:Subject:Date:From; b=FEgSXpdM3TNYrzwyD915y/lNKTBUt3HrLx9oVfYTjBOLXZ+dFHdNs1F5K6NN5TXx8 /L6SXN+1AWl8hE14E3RM+vaET/ISwjO0C1G/swjYp64Yxn9wCnPMHbVkiMUDsH/Bsn DRY9FRNwLkpSlDNG8Z1eBZ3kmJ/nsQS0URM9NB70= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Mon, 21 Oct 2019 13:24:46 +0300 Message-Id: <20191021102453.26471-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 1/8] Documentation: Move coding style under contributing X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 10:25:05 -0000 The coding style isn't so important that it has to be displayed on the top contents bar. Move it to the contributing section. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- Documentation/coding-style.rst | 6 ++---- Documentation/contributing.rst | 11 +++++++++++ Documentation/index.rst | 1 - 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst index 8dd1afce1a2c..9940ec10f330 100644 --- a/Documentation/coding-style.rst +++ b/Documentation/coding-style.rst @@ -1,10 +1,8 @@ +.. _coding-style-guidelines: + Coding Style Guidelines ======================= -The libcamera project has high standards of stability, efficiency and -reliability. To achieve those, the project goes to great length to produce -code that is as easy to read, understand and maintain as possible. - These coding guidelines are meant to ensure code quality. As a contributor you are expected to follow them in all code submitted to the project. While strict compliance is desired, exceptions are tolerated when justified with diff --git a/Documentation/contributing.rst b/Documentation/contributing.rst index 087f188e5d51..390b96a55699 100644 --- a/Documentation/contributing.rst +++ b/Documentation/contributing.rst @@ -53,6 +53,12 @@ Sphinx integration with Doxygen is planned, likely using `Breathe`_ and Submitting Patches ------------------ +The libcamera project has high standards of stability, efficiency and +reliability. To achieve those, the project goes to great length to produce +code that is as easy to read, understand and maintain as possible. This is +made possible by a set of :ref:`coding-style-guidelines` that all submissions +are expected to follow. + Patches submitted to the libcamera project must be certified as suitable for integration into an open source project. As such libcamera follows the same model as utilised by the Linux kernel, and requires the use of 'Signed-off-by:' @@ -62,3 +68,8 @@ By signing your contributions you are certifying your work in accordance with the `Developer's Certificate of Origin`_ .. _Developer's Certificate of Origin: https://developercertificate.org/ + +.. toctree:: + :hidden: + + Coding Style diff --git a/Documentation/index.rst b/Documentation/index.rst index ec2222108e8a..84d5f6a88caf 100644 --- a/Documentation/index.rst +++ b/Documentation/index.rst @@ -7,6 +7,5 @@ Home Docs - Coding Style Contribute API