]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Docs: Move clang-format from process/ to dev-tools/
authorSeongJae Park <sj@kernel.org>
Mon, 24 Jun 2024 18:53:09 +0000 (11:53 -0700)
committerJonathan Corbet <corbet@lwn.net>
Wed, 26 Jun 2024 22:36:00 +0000 (16:36 -0600)
'clang-format' is on 'Other material' section of 'process/index', but it
may fit more under 'dev-tools/' directory.  Move it.

Signed-off-by: SeongJae Park <sj@kernel.org>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Acked-by: Federico Vaga <federico.vaga@vaga.pv.it>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240624185312.94537-5-sj@kernel.org
12 files changed:
.clang-format
Documentation/dev-tools/clang-format.rst [moved from Documentation/process/clang-format.rst with 100% similarity]
Documentation/dev-tools/index.rst
Documentation/process/4.Coding.rst
Documentation/process/coding-style.rst
Documentation/process/index.rst
Documentation/translations/it_IT/process/clang-format.rst
Documentation/translations/sp_SP/process/coding-style.rst
Documentation/translations/zh_CN/process/4.Coding.rst
Documentation/translations/zh_CN/process/coding-style.rst
Documentation/translations/zh_TW/process/4.Coding.rst
Documentation/translations/zh_TW/process/coding-style.rst

index ccc9b93972a99eaca14b0cce1f50b86ab3c3947f..252820d9c80a15708910f5f00fff5ef2ef3f4a30 100644 (file)
@@ -4,7 +4,7 @@
 #
 # For more information, see:
 #
-#   Documentation/process/clang-format.rst
+#   Documentation/dev-tools/clang-format.rst
 #   https://clang.llvm.org/docs/ClangFormat.html
 #   https://clang.llvm.org/docs/ClangFormatStyleOptions.html
 #
index efa49cdc8e2eb3cd7f104fc90c5c0e4ff4e9ad3b..a5f241cf0c027aef17a0858635b7332fc0604154 100644 (file)
@@ -16,6 +16,7 @@ Documentation/dev-tools/testing-overview.rst
 
    testing-overview
    checkpatch
+   clang-format
    coccinelle
    sparse
    kcov
index c2046dec0c2f4065d81953e4164e706cb73d3d2c..80bcc1cabc2363c0589217eacbff49425f1bafba 100644 (file)
@@ -63,7 +63,7 @@ these rules, to quickly re-format parts of your code automatically,
 and to review full files in order to spot coding style mistakes,
 typos and possible improvements. It is also handy for sorting ``#includes``,
 for aligning variables/macros, for reflowing text and other similar tasks.
-See the file :ref:`Documentation/process/clang-format.rst <clangformat>`
+See the file :ref:`Documentation/dev-tools/clang-format.rst <clangformat>`
 for more details.
 
 Some basic editor settings, such as indentation and line endings, will be
index 7e768c65aa9262862a4681c80421c73b34a6e222..04f6aa377a5db1d2c232f39f7a1a74895c413978 100644 (file)
@@ -732,7 +732,7 @@ these rules, to quickly re-format parts of your code automatically,
 and to review full files in order to spot coding style mistakes,
 typos and possible improvements. It is also handy for sorting ``#includes``,
 for aligning variables/macros, for reflowing text and other similar tasks.
-See the file :ref:`Documentation/process/clang-format.rst <clangformat>`
+See the file :ref:`Documentation/dev-tools/clang-format.rst <clangformat>`
 for more details.
 
 Some basic editor settings, such as indentation and line endings, will be
index fb089bf9d6a897ffd548334400a94613450425dc..1827e73f63768ba38b4f64aa1887d3d59ee97440 100644 (file)
@@ -113,7 +113,6 @@ lack of a better place.
 .. toctree::
    :maxdepth: 1
 
-   clang-format
 
 .. only::  subproject and html
 
index 29f83c198025c6d3ce7d2866f785c60d6f06f200..6fab07772da0c8fd0ee4aa58c0cb6b92cf040473 100644 (file)
@@ -1,6 +1,6 @@
 .. include:: ../disclaimer-ita.rst
 
-:Original: :ref:`Documentation/process/clang-format.rst <clangformat>`
+:Original: :ref:`Documentation/dev-tools/clang-format.rst <clangformat>`
 :Translator: Federico Vaga <federico.vaga@vaga.pv.it>
 
 .. _it_clangformat:
index b5a84df44cea04c9f0c4eb7249e132ec08c26b2c..025223be9706d480904c1bb1368641d6cda23827 100644 (file)
@@ -754,7 +754,7 @@ código automáticamente, y revisar archivos completos para detectar errores
 de estilo del código, errores tipográficos y posibles mejoras. También es
 útil para ordenar ``#includes``, para alinear variables/macros, para
 redistribuir texto y otras tareas similares. Vea el archivo
-:ref:`Documentation/process/clang-format.rst <clangformat>` para más
+:ref:`Documentation/dev-tools/clang-format.rst <clangformat>` para más
 detalles.
 
 10) Archivos de configuración de Kconfig
index 7cac9424f5d55bd93fa061eff72ea2412b26aa4a..4cc35d410dbc5a1241e6a47672f314de2a141c09 100644 (file)
@@ -54,7 +54,7 @@
 注意您还可以使用 ``clang-format`` 工具来帮助您处理这些规则,快速自动重新格式
 化部分代码,和审阅完整的文件以发现代码样式错误、拼写错误和可能的改进。它还
 可以方便地排序 ``#includes`` 、对齐变量/宏、重排文本和其他类似任务。有关详细
-信息,请参阅文档 :ref:`Documentation/process/clang-format.rst <clangformat>`
+信息,请参阅文档 :ref:`Documentation/dev-tools/clang-format.rst <clangformat>`
 
 抽象层
 ******
index 3bc2810b151d46cc253b64a8fc3040f74e2d4730..10b9cb4f6a650b4706cc855c28d8c6d0dcb3d783 100644 (file)
@@ -654,7 +654,7 @@ Documentation/translations/zh_CN/doc-guide/index.rst 和 scripts/kernel-doc 。
 请注意,您还可以使用 ``clang-format`` 工具帮助您处理这些规则,快速自动重新格
 式化部分代码,并审阅整个文件以发现代码风格错误、打字错误和可能的改进。它还可
 以方便地排序 ``#include`` ,对齐变量/宏,重排文本和其他类似任务。
-详见 Documentation/process/clang-format.rst 。
+详见 Documentation/dev-tools/clang-format.rst 。
 
 
 10) Kconfig 配置文件
index bdd2abe4daf42220da3e36e8fd2c3ef1cf83dbc7..e90a6b51fb982b92a8c25f2ab956efe9c5b98057 100644 (file)
@@ -57,7 +57,7 @@
 注意您還可以使用 ``clang-format`` 工具來幫助您處理這些規則,快速自動重新格式
 化部分代碼,和審閱完整的文件以發現代碼樣式錯誤、拼寫錯誤和可能的改進。它還
 可以方便地排序 ``#includes`` 、對齊變量/宏、重排文本和其他類似任務。有關詳細
-信息,請參閱文檔 :ref:`Documentation/process/clang-format.rst <clangformat>`
+信息,請參閱文檔 :ref:`Documentation/dev-tools/clang-format.rst <clangformat>`
 
 抽象層
 ******
index c7ac504f6f40ce8ed0bf579aa8cda961d3c13879..311c6f6bad0bca6a972f24c813559f7229e63723 100644 (file)
@@ -657,7 +657,7 @@ Documentation/translations/zh_CN/doc-guide/index.rst 和 scripts/kernel-doc 。
 請注意,您還可以使用 ``clang-format`` 工具幫助您處理這些規則,快速自動重新格
 式化部分代碼,並審閱整個文件以發現代碼風格錯誤、打字錯誤和可能的改進。它還可
 以方便地排序 ``#include`` ,對齊變量/宏,重排文本和其他類似任務。
-詳見 Documentation/process/clang-format.rst 。
+詳見 Documentation/dev-tools/clang-format.rst 。
 
 
 10) Kconfig 配置文件