Skip to content

Commit

Permalink
HRGT logging should not log entries without ABBRs
Browse files Browse the repository at this point in the history
Signed-off-by: Rieks <RieksJ@users.noreply.github.com>
  • Loading branch information
RieksJ committed Apr 1, 2024
1 parent 6df35a7 commit 8f1e572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/terminology-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mrgt:
hrgt:
interpreter: default # `default` (default), or regex
converter[1]: "## [{{#if glossaryTerm}}{{noRefs glossaryTerm}}{{else}}{{capFirst term}}{{/if}}]({{localize navurl}})\n\n{{#if glossaryText}}{{glossaryText}}{{else}}no `glossaryText` was specified for this entry.{{/if}}\n\n{{#if glossaryNotes}}### Notes\n\n{{#each glossaryNotes}}- {{this}}\n{{/each}}\n{{/if}}"
converter[2]: markdown-abbr-section-2 # add HRG-entries for abbreviations (i.e. that have a non-empty `glossaryAbbr` field)
converter[2]: "{{#if glossaryAbbr}}## [{{glossaryAbbr}}]({{localize navurl}})\n\nSee: [{{#if glossaryTerm}}{{glossaryTerm}}{{else}}{{capFirst term}}{{/if}}]({{termid}}@)\n\n{{else}}{{log level='silent'}}{{/if}}" # add HRG-entries for abbreviations (i.e. that have a non-empty `glossaryAbbr` field)
input: # glob pattern for files to be processed
- "tev2-glossary.md"
- "tev2-glossaries-demo.md"
Expand Down

0 comments on commit 8f1e572

Please sign in to comment.