]> gitweb.factorcode.org Git - factor.git/commitdiff
help.lint.coverage: fix help-lint warnings
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 7 Jan 2023 01:55:25 +0000 (17:55 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 7 Jan 2023 01:55:25 +0000 (17:55 -0800)
extra/help/lint/coverage/coverage-docs.factor

index 0dffd1caa897e60c35ace8adfb8b73b87a9b04fc..311178c1e329da5f30a7df66d35ad69f79d5339b 100644 (file)
@@ -85,7 +85,7 @@ HELP: vocab-help-coverage.
 [english] vowel?: needs help sections: $values, $description, and $examples
 [english] vowels: needs help sections: $values, $description, and $examples
 
-100.0% of words have complete documentation"
+83.3% of words have complete documentation"
     }
 } ;
 
@@ -106,13 +106,15 @@ HELP: prefix-help-coverage.
 [english] pluralize: full help coverage
 [english] singular?: full help coverage
 [english] singularize: full help coverage
+[english] vowel?: needs help sections: $values, $description, and $examples
+[english] vowels: needs help sections: $values, $description, and $examples
 [english.private] $0-plurality: needs help sections: $values, $description, and $examples
 [english.private] $keep-case: needs help sections: $values, $description, and $examples
 [english.private] match-case: needs help sections: $values, $description, and $examples
 [english.private] plural-to-singular: needs help sections: $values, $description, and $examples
 [english.private] singular-to-plural: needs help sections: $values, $description, and $examples
 
-70.6% of words have complete documentation"
+58.8% of words have complete documentation"
     }
 } ;
 
@@ -164,6 +166,14 @@ HELP: <prefix-help-coverage>
         { word-name singularize }
         { 100%-coverage? t }
     }
+    T{ word-help-coverage
+        { word-name vowel? }
+        { omitted-sections { $values $description $examples } }
+    }
+    T{ word-help-coverage
+        { word-name vowels }
+        { omitted-sections { $values $description $examples } }
+    }
     T{ word-help-coverage
         { word-name $0-plurality }
         { omitted-sections { $values $description $examples } }
@@ -250,6 +260,14 @@ HELP: <vocab-help-coverage>
         { word-name singularize }
         { 100%-coverage? t }
     }
+    T{ word-help-coverage
+        { word-name vowel? }
+        { omitted-sections { $values $description $examples } }
+    }
+    T{ word-help-coverage
+        { word-name vowels }
+        { omitted-sections { $values $description $examples } }
+    }
 }"
     }
 } ;