RULEAPI-791 LaYC: add "External coding guidelines" subtitle in the "Resources" section (#2454)

This commit is contained in:
Amélie Renard 2023-07-13 18:18:01 +02:00 committed by GitHub
parent 6c110347fc
commit b724d1f7c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 1 deletions

View File

@ -59,6 +59,7 @@ This format is defined as follows:
** Articles & blog posts
** Conference presentations
** Standards
** External coding guidelines
** Benchmarks
** Related rules
@ -118,6 +119,7 @@ Goal: Allow the user to dig deeper by providing a curated list of resources.
** *Articles & blog posts* (level 3 title) [Optional]
** *Conference presentations* (level 3 title) [Optional]
** *Standards* (level 3 title) [Optional]
** *External coding guidelines* (level 3 title) [Optional]
** *Benchmarks* (level 3 title) [Optional]
** *Related rules* (level 3 title) [Optional]
+

View File

@ -40,4 +40,5 @@ FIXME
//=== Articles & blog posts
//=== Conference presentations
//=== Standards
//=== External coding guidelines
//=== Benchmarks

View File

@ -40,4 +40,5 @@ FIXME
//=== Articles & blog posts
//=== Conference presentations
//=== Standards
//=== External coding guidelines
//=== Benchmarks

View File

@ -34,7 +34,7 @@ MANDATORY_SECTIONS = ['Why is this an issue?']
OPTIONAL_SECTIONS = {
# Also covers 'How to fix it in {Framework Display Name}'
'How to fix it': ['Code examples', 'How does this work?', 'Pitfalls', 'Going the extra mile'],
'Resources': ['Documentation', 'Articles & blog posts', 'Conference presentations', 'Standards', 'Benchmarks', 'Related rules']
'Resources': ['Documentation', 'Articles & blog posts', 'Conference presentations', 'Standards', 'External coding guidelines', 'Benchmarks', 'Related rules']
}
SUBSECTIONS = {
'Code examples': ['Noncompliant code example', 'Compliant solution']