diff options
| author | Jonathan Corbet <corbet@lwn.net> | 2016-07-20 18:43:41 -0400 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2016-07-20 18:45:37 -0400 |
| commit | 8ed292fe864e9ed7d335515e97590122a56d7cba (patch) | |
| tree | c86eb1cb91d7e728042c0a577c4eb9d2d87c88d2 /Documentation | |
| parent | 47d6d752b9e20dbe8a2acd22e887be81a6f39de9 (diff) | |
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')
| -rw-r--r-- | Documentation/00-INDEX | 4 | ||||
| -rw-r--r-- | Documentation/CodingStyle | 2 | ||||
| -rw-r--r-- | Documentation/development-process/4.Coding | 2 | ||||
| -rw-r--r-- | Documentation/kernel-doc-nano-HOWTO.txt | 3 | ||||
| -rw-r--r-- | Documentation/zh_CN/CodingStyle | 2 |
5 files changed, 8 insertions, 5 deletions
diff --git a/Documentation/00-INDEX b/Documentation/00-INDEX index cd077ca0e1b8..cb9a6c6fa83b 100644 --- a/Documentation/00-INDEX +++ b/Documentation/00-INDEX | |||
| @@ -255,10 +255,10 @@ kbuild/ | |||
| 255 | - directory with info about the kernel build process. | 255 | - directory with info about the kernel build process. |
| 256 | kdump/ | 256 | kdump/ |
| 257 | - directory with mini HowTo on getting the crash dump code to work. | 257 | - directory with mini HowTo on getting the crash dump code to work. |
| 258 | kernel-doc-nano-HOWTO.txt | ||
| 259 | - mini HowTo on generation and location of kernel documentation files. | ||
| 260 | kernel-docs.txt | 258 | kernel-docs.txt |
| 261 | - listing of various WWW + books that document kernel internals. | 259 | - listing of various WWW + books that document kernel internals. |
| 260 | kernel-documentation.rst | ||
| 261 | - how to write and format reStructuredText kernel documentation | ||
| 262 | kernel-parameters.txt | 262 | kernel-parameters.txt |
| 263 | - summary listing of command line / boot prompt args for the kernel. | 263 | - summary listing of command line / boot prompt args for the kernel. |
| 264 | kernel-per-CPU-kthreads.txt | 264 | kernel-per-CPU-kthreads.txt |
diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle index 9a70ddd16584..a096836723ca 100644 --- a/Documentation/CodingStyle +++ b/Documentation/CodingStyle | |||
| @@ -458,7 +458,7 @@ of the function, telling people what it does, and possibly WHY it does | |||
| 458 | it. | 458 | it. |
| 459 | 459 | ||
| 460 | When commenting the kernel API functions, please use the kernel-doc format. | 460 | When commenting the kernel API functions, please use the kernel-doc format. |
| 461 | See the files Documentation/kernel-doc-nano-HOWTO.txt and scripts/kernel-doc | 461 | See the files Documentation/kernel-documentation.rst and scripts/kernel-doc |
| 462 | for details. | 462 | for details. |
| 463 | 463 | ||
| 464 | Linux style for comments is the C89 "/* ... */" style. | 464 | Linux style for comments is the C89 "/* ... */" style. |
diff --git a/Documentation/development-process/4.Coding b/Documentation/development-process/4.Coding index e3cb6a56653a..9a3ee77cefb1 100644 --- a/Documentation/development-process/4.Coding +++ b/Documentation/development-process/4.Coding | |||
| @@ -346,7 +346,7 @@ which have not been so documented, there is no harm in adding kerneldoc | |||
| 346 | comments for the future; indeed, this can be a useful activity for | 346 | comments for the future; indeed, this can be a useful activity for |
| 347 | beginning kernel developers. The format of these comments, along with some | 347 | beginning kernel developers. The format of these comments, along with some |
| 348 | information on how to create kerneldoc templates can be found in the file | 348 | information on how to create kerneldoc templates can be found in the file |
| 349 | Documentation/kernel-doc-nano-HOWTO.txt. | 349 | Documentation/kernel-documentation.rst. |
| 350 | 350 | ||
| 351 | Anybody who reads through a significant amount of existing kernel code will | 351 | Anybody who reads through a significant amount of existing kernel code will |
| 352 | note that, often, comments are most notable by their absence. Once again, | 352 | note that, often, comments are most notable by their absence. Once again, |
diff --git a/Documentation/kernel-doc-nano-HOWTO.txt b/Documentation/kernel-doc-nano-HOWTO.txt index 78f69cdc9b3f..062e3af271b7 100644 --- a/Documentation/kernel-doc-nano-HOWTO.txt +++ b/Documentation/kernel-doc-nano-HOWTO.txt | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | NOTE: this document is outdated and will eventually be removed. See | ||
| 2 | Documentation/kernel-documentation.rst for current information. | ||
| 3 | |||
| 1 | kernel-doc nano-HOWTO | 4 | kernel-doc nano-HOWTO |
| 2 | ===================== | 5 | ===================== |
| 3 | 6 | ||
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 | |||
| 399 | 些事情的原因。 | 399 | 些事情的原因。 |
| 400 | 400 | ||
| 401 | 当注释内核API函数时,请使用 kernel-doc 格式。请看 | 401 | 当注释内核API函数时,请使用 kernel-doc 格式。请看 |
| 402 | Documentation/kernel-doc-nano-HOWTO.txt和scripts/kernel-doc 以获得详细信息。 | 402 | Documentation/kernel-documentation.rst和scripts/kernel-doc 以获得详细信息。 |
| 403 | 403 | ||
| 404 | Linux的注释风格是 C89 “/* ... */” 风格。不要使用 C99 风格 “// ...” 注释。 | 404 | Linux的注释风格是 C89 “/* ... */” 风格。不要使用 C99 风格 “// ...” 注释。 |
| 405 | 405 | ||
