docs: Use underscore not hyphen in label
authorTobin C. Harding <tobin@kernel.org>
Thu, 31 Jan 2019 04:06:23 +0000 (15:06 +1100)
committerJonathan Corbet <corbet@lwn.net>
Fri, 1 Feb 2019 23:04:01 +0000 (16:04 -0700)
sphinx emits warning

       WARNING: undefined label: memory-allocation ...

This seems to be caused by the use of a hyphen in the label name instead
of an underscore.  Using an underscore for the label name and the
reference clears the warning.

Use underscore not hyphen in label and reference.

Signed-off-by: Tobin C. Harding <tobin@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/core-api/memory-allocation.rst
Documentation/vm/index.rst

index 51a200d..7744aa3 100644 (file)
@@ -1,4 +1,4 @@
-.. _memory-allocation:
+.. _memory_allocation:
 
 =======================
 Memory Allocation Guide
index 2b3ab3a..b58cc3b 100644 (file)
@@ -4,7 +4,7 @@ Linux Memory Management Documentation
 
 This is a collection of documents about the Linux memory management (mm)
 subsystem.  If you are looking for advice on simply allocating memory,
-see the :ref:`memory-allocation`.
+see the :ref:`memory_allocation`.
 
 User guides for MM features
 ===========================