Skip to contentSkip to conversation

docs: Remove a useless top-of-file label

PATCH New Jonathan Corbet 1 participant 1 message Mar 3

Subsystems (6)
lore
Share & tools
lore

Jonathan Corbet

author maintainer
#0 lore raw

PATCH 1/1 docs: Remove a useless top-of-file label

I'm not sure how the practice of putting labels at the top of documentation files got started, but I would like to see it end. Toward that goal:
replace the development_process_main label in process/development-process.rst with an SPDX line and adjust the references to just give the file name. The automarkup code will then create a link automatically in the rendered docs.

(I wrote the original document, so feel confident in applying the SPDX line to it).

---
 Documentation/process/development-process.rst                 | 2 +-
 Documentation/process/maintainer-handbooks.rst                | 4 ++--
 .../translations/it_IT/process/development-process.rst        | 2 +-
 .../translations/pt_BR/process/maintainer-handbooks.rst       | 2 +-
 .../translations/zh_CN/process/development-process.rst        | 2 +-
 .../translations/zh_TW/process/development-process.rst        | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
Documentation/process/development-process.rst +1 -1
index e34d7da58b7f..4d75567cf365 100644
@@ -1,4 +1,4 @@
-.. _development_process_main:
+.. SPDX-License-Identifier: GPL-2.0
 
 A guide to the Kernel Development Process
 =========================================
Documentation/process/maintainer-handbooks.rst +2 -2
index 3d72ad25fc6a..5a0e13aa88a3 100644
@@ -4,8 +4,8 @@ Subsystem and maintainer tree specific development process notes
 ================================================================
 
 The purpose of this document is to provide subsystem specific information
-which is supplementary to the general development process handbook
-:ref:`Documentation/process <development_process_main>`.
+which is supplementary to the general development process handbook found in
+Documentation/process/development-process.rst.
 
 Contents:
 
Documentation/translations/it_IT/process/development-process.rst +1 -1
index 20e77c9816a1..29a52a8a4704 100644
@@ -1,6 +1,6 @@
 .. include:: ../disclaimer-ita.rst
 
-:Original: :ref:`Documentation/process/development-process.rst <development_process_main>`
+:Original: Documentation/process/development-process.rst
 :Translator: Alessia Mantegazza <[email protected]>
 
 .. _it_development_process_main:
Documentation/translations/pt_BR/process/maintainer-handbooks.rst +1 -1
index eb650bc6006c..9c0f2ef52cac 100644
@@ -5,4 +5,4 @@ Notas sobre o processo de desenvolvimento de subsistemas e mantenedores
 
 O propósito deste documento é fornecer informações específicas de
 subsistemas que são suplementares ao manual geral do processo de
-desenvolvimento :ref:`Documentation/process <development_process_main>`.
+desenvolvimento Documentation/process/development-process.rst
Documentation/translations/zh_CN/process/development-process.rst +1 -1
index c10d8e2e21eb..4b44370ce6e7 100644
@@ -1,6 +1,6 @@
 .. include:: ../disclaimer-zh_CN.rst
 
-:Original: :ref:`Documentation/process/development-process.rst <development_process_main>`
+:Original: Documentation/process/development-process.rst
 :Translator: Alex Shi <[email protected]>
 
 .. _cn_development_process_main:
Documentation/translations/zh_TW/process/development-process.rst +1 -1
index 305d9472b017..7c7954261d3c 100644
@@ -2,7 +2,7 @@
 
 .. include:: ../disclaimer-zh_TW.rst
 
-:Original: :ref:`Documentation/process/development-process.rst <development_process_main>`
+:Original: Documentation/process/development-process.rst
 :Translator: Alex Shi <[email protected]>
              Hu Haowen <[email protected]>
 
Signature · 1 line
2.53.0