summaryrefslogtreecommitdiffstats
path: root/Documentation/zh_CN
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2016-07-21 00:43:41 +0200
committerJonathan Corbet <corbet@lwn.net>2016-07-21 00:45:37 +0200
commit8ed292fe864e9ed7d335515e97590122a56d7cba (patch)
treec86eb1cb91d7e728042c0a577c4eb9d2d87c88d2 /Documentation/zh_CN
parentdoc/sphinx: Enable keep_warnings (diff)
downloadlinux-8ed292fe864e9ed7d335515e97590122a56d7cba.tar.xz
linux-8ed292fe864e9ed7d335515e97590122a56d7cba.zip
docs: deprecate kernel-doc-nano-HOWTO.txt
Now that the new Sphinx world order is taking over, the information in kernel-doc-nano-HOWTO.txt is outmoded. I hate to remove it altogether, since it's one of those files that people expect to find. But we can add a warning and fix all the other pointers to it. Reminded-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/zh_CN')
-rw-r--r--Documentation/zh_CN/CodingStyle2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/zh_CN/CodingStyle b/Documentation/zh_CN/CodingStyle
index bbb9d6ae05ca..12717791baac 100644
--- a/Documentation/zh_CN/CodingStyle
+++ b/Documentation/zh_CN/CodingStyle
@@ -399,7 +399,7 @@ C是一个简朴的语言,你的命名也应该这样。和 Modula-2 和 Pasca
些事情的原因。
当注释内核API函数时,请使用 kernel-doc 格式。请看
-Documentation/kernel-doc-nano-HOWTO.txt和scripts/kernel-doc 以获得详细信息。
+Documentation/kernel-documentation.rst和scripts/kernel-doc 以获得详细信息。
Linux的注释风格是 C89 “/* ... */” 风格。不要使用 C99 风格 “// ...” 注释。