doc: add some chapter labels

The idea is to make it easier to create references (doc-guide does the same).
This will be used, for example but not only, in translations to point to
the main document.

Signed-off-by: Federico Vaga <federico.vaga@vaga.pv.it>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Federico Vaga 2018-06-06 00:49:01 +02:00 committed by Jonathan Corbet
parent 85c32d9c6f
commit aa586e2574
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,8 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. _linux_doc:
The Linux Kernel documentation
==============================

View File

@ -1,3 +1,5 @@
.. _kernel_hacking:
=====================
Kernel Hacking Guides
=====================