doc: add some chapter labels
authorFederico Vaga <federico.vaga@vaga.pv.it>
Tue, 5 Jun 2018 22:49:01 +0000 (00:49 +0200)
committerJonathan Corbet <corbet@lwn.net>
Tue, 26 Jun 2018 15:08:06 +0000 (09:08 -0600)
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>
Documentation/index.rst
Documentation/kernel-hacking/index.rst

index 20c00a9..5d310d9 100644 (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
 ==============================
 
index fcb0eda..f530276 100644 (file)
@@ -1,3 +1,5 @@
+.. _kernel_hacking:
+
 =====================
 Kernel Hacking Guides
 =====================