Skip to content

Commit e3b10a0

Browse files
sjp38Jonathan Corbet
authored andcommitted
Docs: Move clang-format from process/ to dev-tools/
'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 <[email protected]> Acked-by: Miguel Ojeda <[email protected]> Acked-by: Federico Vaga <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent f9a4f4a commit e3b10a0

File tree

12 files changed

+10
-10
lines changed

12 files changed

+10
-10
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# For more information, see:
66
#
7-
# Documentation/process/clang-format.rst
7+
# Documentation/dev-tools/clang-format.rst
88
# https://clang.llvm.org/docs/ClangFormat.html
99
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
1010
#
File renamed without changes.

Documentation/dev-tools/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Documentation/dev-tools/testing-overview.rst
1616

1717
testing-overview
1818
checkpatch
19+
clang-format
1920
coccinelle
2021
sparse
2122
kcov

Documentation/process/4.Coding.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ these rules, to quickly re-format parts of your code automatically,
6363
and to review full files in order to spot coding style mistakes,
6464
typos and possible improvements. It is also handy for sorting ``#includes``,
6565
for aligning variables/macros, for reflowing text and other similar tasks.
66-
See the file :ref:`Documentation/process/clang-format.rst <clangformat>`
66+
See the file :ref:`Documentation/dev-tools/clang-format.rst <clangformat>`
6767
for more details.
6868

6969
Some basic editor settings, such as indentation and line endings, will be

Documentation/process/coding-style.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ these rules, to quickly re-format parts of your code automatically,
732732
and to review full files in order to spot coding style mistakes,
733733
typos and possible improvements. It is also handy for sorting ``#includes``,
734734
for aligning variables/macros, for reflowing text and other similar tasks.
735-
See the file :ref:`Documentation/process/clang-format.rst <clangformat>`
735+
See the file :ref:`Documentation/dev-tools/clang-format.rst <clangformat>`
736736
for more details.
737737

738738
Some basic editor settings, such as indentation and line endings, will be

Documentation/process/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ lack of a better place.
113113
.. toctree::
114114
:maxdepth: 1
115115

116-
clang-format
117116

118117
.. only:: subproject and html
119118

Documentation/translations/it_IT/process/clang-format.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. include:: ../disclaimer-ita.rst
22

3-
:Original: :ref:`Documentation/process/clang-format.rst <clangformat>`
3+
:Original: :ref:`Documentation/dev-tools/clang-format.rst <clangformat>`
44
:Translator: Federico Vaga <[email protected]>
55

66
.. _it_clangformat:

Documentation/translations/sp_SP/process/coding-style.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ código automáticamente, y revisar archivos completos para detectar errores
754754
de estilo del código, errores tipográficos y posibles mejoras. También es
755755
útil para ordenar ``#includes``, para alinear variables/macros, para
756756
redistribuir texto y otras tareas similares. Vea el archivo
757-
:ref:`Documentation/process/clang-format.rst <clangformat>` para más
757+
:ref:`Documentation/dev-tools/clang-format.rst <clangformat>` para más
758758
detalles.
759759

760760
10) Archivos de configuración de Kconfig

Documentation/translations/zh_CN/process/4.Coding.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
注意您还可以使用 ``clang-format`` 工具来帮助您处理这些规则,快速自动重新格式
5555
化部分代码,和审阅完整的文件以发现代码样式错误、拼写错误和可能的改进。它还
5656
可以方便地排序 ``#includes`` 、对齐变量/宏、重排文本和其他类似任务。有关详细
57-
信息,请参阅文档 :ref:`Documentation/process/clang-format.rst <clangformat>`
57+
信息,请参阅文档 :ref:`Documentation/dev-tools/clang-format.rst <clangformat>`
5858

5959
抽象层
6060
******

Documentation/translations/zh_CN/process/coding-style.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ Documentation/translations/zh_CN/doc-guide/index.rst 和 scripts/kernel-doc 。
654654
请注意,您还可以使用 ``clang-format`` 工具帮助您处理这些规则,快速自动重新格
655655
式化部分代码,并审阅整个文件以发现代码风格错误、打字错误和可能的改进。它还可
656656
以方便地排序 ``#include`` ,对齐变量/宏,重排文本和其他类似任务。
657-
详见 Documentation/process/clang-format.rst 。
657+
详见 Documentation/dev-tools/clang-format.rst 。
658658

659659

660660
10) Kconfig 配置文件

0 commit comments

Comments
 (0)