Commit 8a446cb
committed
doc: Add a kdoc test for API docs
Even when we're not building docs, it would be handy to have an easy
check that the kernel-doc comments do not produce warnings or errors.
This change adds a test() defintion to docs/, which calls a simple
script, kernel-doc-check. This script invokes kernel-doc, looking for
error and/or warning output.
Signed-off-by: Jeremy Kerr <[email protected]>1 parent e33cc17 commit 8a446cb
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | | - | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
| |||
0 commit comments