summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Vaga <federico.vaga@vaga.pv.it>2018-06-06 00:49:01 +0200
committerJonathan Corbet <corbet@lwn.net>2018-06-26 09:08:06 -0600
commitaa586e25744ad0a481fdba2da05041af235c110d (patch)
tree71857e78f0dee795a5ada11f2f25e3d52d5dbac5
parent85c32d9c6f3ebcb6807f2a6a54b2578cf281654a (diff)
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>
-rw-r--r--Documentation/index.rst2
-rw-r--r--Documentation/kernel-hacking/index.rst2
2 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/index.rst b/Documentation/index.rst
index 20c00a9f2a93..5d310d960f82 100644
--- a/Documentation/index.rst
+++ b/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
==============================
diff --git a/Documentation/kernel-hacking/index.rst b/Documentation/kernel-hacking/index.rst
index fcb0eda3cca3..f53027652290 100644
--- a/Documentation/kernel-hacking/index.rst
+++ b/Documentation/kernel-hacking/index.rst
@@ -1,3 +1,5 @@
+.. _kernel_hacking:
+
=====================
Kernel Hacking Guides
=====================