[PATCH] D65483: [clang-doc] Add link to source code in file definitions
Diego Astiazarán via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 6 18:17:11 PDT 2019
DiegoAstiazaran added inline comments.
================
Comment at: clang-tools-extra/docs/clang-doc.rst:93
+ --public - Document only public declarations.
+ --repository=<string> -
+ URL of repository that hosts code.
----------------
juliehockett wrote:
> Formatting here is a bit weird
Do you mean the almost empty line that's only "-"? This is because the description of the flag starts with \n.
```R"(
URL of repository that hosts code.
Used for links to definition locations.)"```
I used the same format used by [[ https://clang.llvm.org/extra/clang-tidy/ | clang-tidy ]], it has this format for all the multi-line flag descriptions.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65483/new/
https://reviews.llvm.org/D65483
More information about the cfe-commits
mailing list