diff --git a/script/gallery.ts b/script/gallery.ts index 6c562cd..9cab749 100644 --- a/script/gallery.ts +++ b/script/gallery.ts @@ -106,14 +106,18 @@ function makeFragment() { } } + type Shortcuts = { [short: string]: Set }; const shortcuts: Shortcuts = { - 'summary': new Set('require_artsummary'), - 'colourexamples': new Set('require_colourexample'), - 'flatexamples': new Set('require_flatexample'), - 'sketchexamples': new Set('require_sketchexample'), - 'iconexamples': new Set('require_iconexample'), - 'curated': new Set('require_curated') + summary: new Set(['require_artsummary']), + colourexamples: new Set(['require_colourexample']), + flatexamples: new Set(['require_flatexample']), + sketchexamples: new Set(['require_sketchexample']), + iconexamples: new Set(['require_iconexample']), + curated: new Set(['require_curated']), + gecs: new Set(['require_niss', 'require_nisse']), + qt: new Set(['require_q_t_']), + kesi: new Set(['require_kesi']), }; function useFragment() {