Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4337529ooa; Tue, 14 Aug 2018 04:44:48 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzIi5taxctNUWr/pIoVUFoeHbeJju/T9tlPRBHgIuv5pU0Lk9Hd1XAGtI+aAib8GKbsUZLE X-Received: by 2002:a65:4107:: with SMTP id w7-v6mr19923304pgp.302.1534247088526; Tue, 14 Aug 2018 04:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534247088; cv=none; d=google.com; s=arc-20160816; b=bnUK+JpZ1HrfKigmJN5GmUjSAybBU3MsqNHPHkIHtRSQoSa1NXJY9mzTvUHSmI7J3D Xd5DQLFjVYWq/Uy3mGaZN3CpDJ0oqpHLaQHN9bmBRZJL2xu3EH1L7V1FFk3+ptHGbirC ZSMIZ3BfeEAN7YBUt3sHpOa8S4zRmHR3TMYWkkWcda2Jmer5rKv9ND2INcF4pnLWZezg zXRp/jklh3mLlnLaLwousyQiXA6GIH46pqNY53IblwP1BgX++9n1wzh7qjlSkO8qxtT9 MQ1w3+I328GKmPZbsJR9XYbUawwuTKwofCrfsAY8x2NqbIBln9PVHwWFVdklqXRYU0YN jwvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=2m5vY6rrpDq4gNSkNep3TDRgMlKQ1UED/gJ2xNaD1Ac=; b=OCjv+MVGbKhAeY+Tw4yIw6KWXvVY0k9BQN5RHDjmJBHMoFaObQnRfD0vWbPJqmFBHB UeUiE0uGK3ody3KBep8+Fs6fBYZXlx6Y/u+PEht72Mex8mkmJR+C2Xrxg95+9rNGEMMM 5tGkJJegkwrordrc2YQTD3hRiWBadCK2XjCqYv10X0ljJwuADdeVsJblJ25QQvhBd2z3 Gz7EK9i4dOwBpCXqbd6BpOFT9vAkRyxebQvO9txLz62Oq9goicantxDkvrh3MIM7Kich GgyIzMKqT35WbbHhYhriB86/4fSMmf4EMYdL6p8sI9tIJLMYM8mu/k34kG5Z7httbQsE K9rA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 23-v6si19393769pgx.323.2018.08.14.04.44.33; Tue, 14 Aug 2018 04:44:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730067AbeHNOaO (ORCPT + 99 others); Tue, 14 Aug 2018 10:30:14 -0400 Received: from smtp2.goneo.de ([85.220.129.33]:51056 "EHLO smtp2.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725983AbeHNOaO (ORCPT ); Tue, 14 Aug 2018 10:30:14 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp2.goneo.de (Postfix) with ESMTP id 7E6A423F2D7; Tue, 14 Aug 2018 13:43:22 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -2.801 X-Spam-Level: X-Spam-Status: No, score=-2.801 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=0.099, BAYES_00=-1.9] autolearn=ham Received: from smtp2.goneo.de ([127.0.0.1]) by localhost (smtp2.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zxHonyjMQ2cW; Tue, 14 Aug 2018 13:43:21 +0200 (CEST) Received: from ryzen.fritz.box (host-091-097-242-136.ewe-ip-backbone.de [91.97.242.136]) by smtp2.goneo.de (Postfix) with ESMTPSA id AF20723F44C; Tue, 14 Aug 2018 13:43:20 +0200 (CEST) From: Markus Heiser To: Thomas Gleixner , Jonas Oberg , Jonathan Corbet , Philippe Ombredanne , Kate Stewart , Greg Kroah-Hartman Cc: Markus Heiser , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH] docs: tidy up TOCs and refs to license-rules.rst Date: Tue, 14 Aug 2018 13:43:12 +0200 Message-Id: <20180814114312.23201-1-markus.heiser@darmarit.de> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The documentation and TOCs are organized in a manner of a tree. Adding a TOC to the root, which refers to a file which is located in a subfolder forms a grid. Those TOCs are a bit confusing and thats why we get additional error messages while building partial documentation:: $ make SPHINXDIRS=process htmldocs ... checking consistency... Documentation/process/license-rules.rst: \ WARNING: document isn't included in any toctree To fix it, the *root-license-TOC* is replaced by a reference and the 'license-roles.txt' is added to the Documentation/process/index.rst TOC. BTW: there was an old licences remark in Documentation/process/howto.rst which is also updated, mentioning SPDX and pointing to the license-rules.rst Signed-off-by: Markus Heiser --- Documentation/index.rst | 5 +---- Documentation/process/howto.rst | 13 +++++++------ Documentation/process/index.rst | 1 + Documentation/process/license-rules.rst | 2 ++ 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Documentation/index.rst b/Documentation/index.rst index 5d310d960f82..eb89d5877cea 100644 --- a/Documentation/index.rst +++ b/Documentation/index.rst @@ -22,10 +22,7 @@ The following describes the license of the Linux kernel source code (GPLv2), how to properly mark the license of individual files in the source tree, as well as links to the full license text. -.. toctree:: - :maxdepth: 2 - - process/license-rules.rst +* :ref:`kernel_licensing` User-oriented documentation --------------------------- diff --git a/Documentation/process/howto.rst b/Documentation/process/howto.rst index 130bf0f48875..9a3dc9b63e1b 100644 --- a/Documentation/process/howto.rst +++ b/Documentation/process/howto.rst @@ -57,12 +57,13 @@ of doing things. Legal Issues ------------ -The Linux kernel source code is released under the GPL. Please see the -file, COPYING, in the main directory of the source tree, for details on -the license. If you have further questions about the license, please -contact a lawyer, and do not ask on the Linux kernel mailing list. The -people on the mailing lists are not lawyers, and you should not rely on -their statements on legal matters. +The Linux kernel source code is released under the GPL. Please see the file +COPYING in the main directory of the source tree. The Linux kernel licensing +rules and how to use `SPDX `_ identifiers in source code is +descibed in :ref:`Documentation/process/license-rules.rst `. +If you have further questions about the license, please contact a lawyer, and do +not ask on the Linux kernel mailing list. The people on the mailing lists are +not lawyers, and you should not rely on their statements on legal matters. For common questions and answers about the GPL, please see: diff --git a/Documentation/process/index.rst b/Documentation/process/index.rst index 37bd0628b6ee..c0b3bd25dbae 100644 --- a/Documentation/process/index.rst +++ b/Documentation/process/index.rst @@ -19,6 +19,7 @@ Below are the essential guides that every developer should read. .. toctree:: :maxdepth: 1 + license-rules howto code-of-conflict development-process diff --git a/Documentation/process/license-rules.rst b/Documentation/process/license-rules.rst index 8ea26325fe3f..2bb8c0fc2238 100644 --- a/Documentation/process/license-rules.rst +++ b/Documentation/process/license-rules.rst @@ -1,5 +1,7 @@ .. SPDX-License-Identifier: GPL-2.0 +.. _kernel_licensing: + Linux kernel licensing rules ============================ -- 2.17.1