Browse Source

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>
Federico Vaga 7 years ago
parent
commit
aa586e2574
2 changed files with 4 additions and 0 deletions
  1. 2 0
      Documentation/index.rst
  2. 2 0
      Documentation/kernel-hacking/index.rst

+ 2 - 0
Documentation/index.rst

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

+ 2 - 0
Documentation/kernel-hacking/index.rst

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