Repository navigation
Commit db8c83c
committed
feat: support QDoc
QDoc is Qt's documentation markup: LaTeX-style commands inside comment
blocks, in C++ sources or standalone .qdoc files. A converter now reads
it into what the walker already understands -- sections are headings,
`\c` is a code span, `\note` is a classed paragraph a rule can target,
topic and quoting commands are markup with nothing to lint, and an
unknown command is masked with its text kept. Doc comments in C++
sources lint through `[formats] cpp = qdoc`, with alerts mapped back to
the source.
Closes #784.
Signed-off-by: Joseph Kato <joseph@jdkato.io>1 parent fca7b79 commit db8c83c
8 files changed
Lines changed: 680 additions & 0 deletions
File tree
- internal
- core
- lint
- testdata
- e2e
- fixtures/formats
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
247 | 249 | | |
248 | 250 | | |
249 | 251 | | |
| |||
0 commit comments