diff options
author | Cary Clark <caryclark@skia.org> | 2018-07-11 16:18:41 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-11 21:21:28 +0000 |
commit | 80247e594d1fb168e11a19ce6a73a7e7169ec1f5 (patch) | |
tree | 005fe49ae8985ff6b80e73c71fd255220501c199 /tools/bookmaker/bookmaker.cpp | |
parent | 8885550dbc1972311cdf8f08b6fc8c0778fc1d33 (diff) |
Publish docs for rrect, picture, blendmode
Complete basic docs for SkRRect, SkPicture, SkBlendMode.
Add a new rule that checks the main description tense.
Check for spelling errors.
R=caryclark@google.com
Docs-Preview: https://skia.org/?cl=138542
Bug: skia:6898
Change-Id: Iba547873775a89f1d652be9b0219b84ffa8d0628
Reviewed-on: https://skia-review.googlesource.com/138542
Commit-Queue: Cary Clark <caryclark@skia.org>
Reviewed-by: Cary Clark <caryclark@skia.org>
Auto-Submit: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'tools/bookmaker/bookmaker.cpp')
-rw-r--r-- | tools/bookmaker/bookmaker.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/bookmaker/bookmaker.cpp b/tools/bookmaker/bookmaker.cpp index 15598be95f..65f89f5dfe 100644 --- a/tools/bookmaker/bookmaker.cpp +++ b/tools/bookmaker/bookmaker.cpp @@ -48,10 +48,9 @@ trouble with aliases, plurals deprecated methods should be sorted down in md out, and show include "Deprecated." text body. rewrap text to fit in some number of columns #Literal is inflexible, making the entire #Code block link-less (see $Literal in SkImageInfo) - would rather keep links for boby above #Literal, and/or make it a block and not a one-liner + would rather keep links for body above #Literal, and/or make it a block and not a one-liner add check to require #Const to contain #Code block if defining const or constexpr (enum consts have - #Code blocks inside the #Enum def -add spelling rule to look for x-bit but allow x bits + #Code blocks inside the #Enum def) There are a number of formatting bugs with ad hoc patches where a substitution doesn't keep the space before or after, or the linefeeds before or after. The rules are not very good either. @@ -72,8 +71,6 @@ there is special case code to skip phrase def when looking for additional substi phrase def. Could put it in the token list instead I guess, or make a definition subclass used by phrase def with an additional slot... - - #Deprecated soon ## should emit the text "To be deprecated soon." (right now you get just "soon") @@ -86,9 +83,8 @@ has #Const children. If so, generate a summary table first. Or, only allow #Line and moderate text description in #Const. Put more verbose text, example, seealso, in subsequent #SubTopic. Alpha_Type does this and it looks good. -more spelling: x-value y-value - see head of selfCheck.cpp for additional todos +see head of spellCheck.cpp for additional todos */ /* |