Skip to content

Commit

Permalink
Fix missing profile link, reorder columns, closes #1230
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesaoverton committed Nov 29, 2024
1 parent 015be3d commit 35b830f
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 37 deletions.
6 changes: 3 additions & 3 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ report_queries/index.md: ../robot-core/src/main/resources/report_profile.txt | r
echo 'with their default severity levels.' >> $@
echo 'See [`report`](../report) for more details.' >> $@
echo '' >> $@
echo '| Name | Default Severity' >> $@
echo '|-------|-------------------' >> $@
awk -F' ' '{x=$$2; gsub(/_/," ",$$2); print "| [" $$2 "](" x ") | " $$1}' $< \
echo '| Default Severity | Name' >> $@
echo '|------------------|--------' >> $@
awk -F' ' '{x=$$2; gsub(/_/," ",$$2); print "| " $$1 " | [" $$2 "](" x ")"}' $< \
>> $@
2 changes: 1 addition & 1 deletion docs/report.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ You can provide your own queries to use in the report (which can be included in

## Profiles

Each QC query is given the corresponding logging level shown above in the [default profile](/). The profile is a simple text file with a logging level followed by the query name (separated by a tab). Each line represents one query configuration:
Each QC query is given the corresponding logging level shown above in the [default profile](https://github.com/ontodev/robot/blob/master/robot-core/src/main/resources/report_profile.txt). The profile is a simple text file with a logging level followed by the query name (separated by a tab). Each line represents one query configuration:
```
ERROR definition_cardinality
INFO deprecated_class
Expand Down
67 changes: 34 additions & 33 deletions docs/report_queries/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,37 @@ The table below lists all the queries run by the `report` command,
with their default severity levels.
See [`report`](../report) for more details.

| Name | Default Severity
|-------|-------------------
| [annotation whitespace](annotation_whitespace) | WARN
| [deprecated boolean datatype](deprecated_boolean_datatype) | ERROR
| [deprecated class reference](deprecated_class_reference) | ERROR
| [deprecated property reference](deprecated_property_reference) | ERROR
| [duplicate definition](duplicate_definition) | ERROR
| [duplicate exact synonym](duplicate_exact_synonym) | WARN
| [duplicate label synonym](duplicate_label_synonym) | WARN
| [duplicate label](duplicate_label) | ERROR
| [duplicate scoped synonym](duplicate_scoped_synonym) | WARN
| [equivalent pair](equivalent_pair) | WARN
| [equivalent class axiom no genus](equivalent_class_axiom_no_genus) | WARN
| [illegal use of built in vocabulary](illegal_use_of_built_in_vocabulary) | ERROR
| [invalid xref](invalid_xref) | WARN
| [label formatting](label_formatting) | ERROR
| [label whitespace](label_whitespace) | ERROR
| [lowercase definition](lowercase_definition) | INFO
| [missing definition](missing_definition) | WARN
| [missing label](missing_label) | ERROR
| [missing obsolete label](missing_obsolete_label) | WARN
| [missing ontology description](missing_ontology_description) | ERROR
| [missing ontology license](missing_ontology_license) | ERROR
| [missing ontology title](missing_ontology_title) | ERROR
| [missing subset declaration](missing_subset_declaration) | WARN
| [missing superclass](missing_superclass) | INFO
| [missing synonym type declaration](missing_synonymtype_declaration) | WARN
| [misused obsolete label](misused_obsolete_label) | ERROR
| [misused replaced by](misused_replaced_by) | ERROR
| [multiple definitions](multiple_definitions) | ERROR
| [multiple equivalent classes](multiple_equivalent_classes) | WARN
| [multiple equivalent class definitions](multiple_equivalent_class_definitions) | ERROR
| [multiple labels](multiple_labels) | ERROR
| Default Severity | Name
|------------------|--------
| WARN | [annotation whitespace](annotation_whitespace)
| ERROR | [deprecated boolean datatype](deprecated_boolean_datatype)
| ERROR | [deprecated class reference](deprecated_class_reference)
| ERROR | [deprecated property reference](deprecated_property_reference)
| ERROR | [duplicate definition](duplicate_definition)
| WARN | [duplicate exact synonym](duplicate_exact_synonym)
| WARN | [duplicate label synonym](duplicate_label_synonym)
| ERROR | [duplicate label](duplicate_label)
| WARN | [duplicate scoped synonym](duplicate_scoped_synonym)
| WARN | [equivalent pair](equivalent_pair)
| WARN | [equivalent class axiom no genus](equivalent_class_axiom_no_genus)
| ERROR | [illegal use of built in vocabulary](illegal_use_of_built_in_vocabulary)
| WARN | [invalid xref](invalid_xref)
| ERROR | [label formatting](label_formatting)
| ERROR | [label whitespace](label_whitespace)
| INFO | [lowercase definition](lowercase_definition)
| WARN | [missing definition](missing_definition)
| ERROR | [missing label](missing_label)
| WARN | [missing obsolete label](missing_obsolete_label)
| ERROR | [missing ontology description](missing_ontology_description)
| ERROR | [missing ontology license](missing_ontology_license)
| ERROR | [missing ontology title](missing_ontology_title)
| WARN | [missing subset declaration](missing_subset_declaration)
| INFO | [missing superclass](missing_superclass)
| WARN | [missing synonymtype declaration](missing_synonymtype_declaration)
| ERROR | [misused obsolete label](misused_obsolete_label)
| ERROR | [misused replaced by](misused_replaced_by)
| ERROR | [multiple definitions](multiple_definitions)
| WARN | [multiple equivalent classes](multiple_equivalent_classes)
| ERROR | [multiple equivalent class definitions](multiple_equivalent_class_definitions)
| ERROR | [multiple labels](multiple_labels)
| WARN | [invalid entity uri](invalid_entity_uri)

0 comments on commit 35b830f

Please sign in to comment.