Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
aa586e2574
2 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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
    contain the root `toctree` directive.
 
+.. _linux_doc:
+
 The Linux Kernel documentation
 ==============================
 

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

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