Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moving templating into the doc gen tool, instead of dumping yaml and letting jekyll handle it. RELNOTES: N/A ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=108302103
- Loading branch information
Showing
4 changed files
with
97 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
docgen/src/main/java/com/google/errorprone/resources/bugpatterns.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{{#frontmatter}} | ||
{{{frontmatter}}} | ||
{{/frontmatter}} | ||
|
||
# Bug patterns | ||
|
||
This list is auto-generated from our sources. Each bug pattern includes code | ||
examples of both positive and negative cases; these examples are used in our | ||
regression test suite. | ||
|
||
Patterns which are marked __Experimental__ will not be evaluated against your | ||
code, unless you specifically configure Error Prone. The default checks are | ||
marked __On by default__, and each release promotes some experimental checks | ||
after we've vetted them against Google's codebase. | ||
|
||
{{#bugpatterns}} | ||
## {{category}} | ||
|
||
{{#checks}} | ||
__[{{name}}](bugpattern/{{name}})__\ | ||
{{summary}} | ||
|
||
{{/checks}} | ||
{{/bugpatterns}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters