Commit 9799445a authored by Markus Heiser's avatar Markus Heiser Committed by Jonathan Corbet

docs: tidy up TOCs and refs to license-rules.rst

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: default avatarMarkus Heiser <markus.heiser@darmarit.de>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 60ca05c3
...@@ -22,10 +22,7 @@ The following describes the license of the Linux kernel source code ...@@ -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 (GPLv2), how to properly mark the license of individual files in the source
tree, as well as links to the full license text. tree, as well as links to the full license text.
.. toctree:: * :ref:`kernel_licensing`
:maxdepth: 2
process/license-rules.rst
User-oriented documentation User-oriented documentation
--------------------------- ---------------------------
......
...@@ -57,12 +57,13 @@ of doing things. ...@@ -57,12 +57,13 @@ of doing things.
Legal Issues Legal Issues
------------ ------------
The Linux kernel source code is released under the GPL. Please see the The Linux kernel source code is released under the GPL. Please see the file
file, COPYING, in the main directory of the source tree, for details on COPYING in the main directory of the source tree. The Linux kernel licensing
the license. If you have further questions about the license, please rules and how to use `SPDX <https://spdx.org/>`_ identifiers in source code are
contact a lawyer, and do not ask on the Linux kernel mailing list. The descibed in :ref:`Documentation/process/license-rules.rst <kernel_licensing>`.
people on the mailing lists are not lawyers, and you should not rely on If you have further questions about the license, please contact a lawyer, and do
their statements on legal matters. 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: For common questions and answers about the GPL, please see:
......
...@@ -19,6 +19,7 @@ Below are the essential guides that every developer should read. ...@@ -19,6 +19,7 @@ Below are the essential guides that every developer should read.
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
license-rules
howto howto
code-of-conflict code-of-conflict
development-process development-process
......
.. SPDX-License-Identifier: GPL-2.0 .. SPDX-License-Identifier: GPL-2.0
.. _kernel_licensing:
Linux kernel licensing rules Linux kernel licensing rules
============================ ============================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment