url fragment shortcuts
This commit is contained in:
parent
7671c1837a
commit
204c02f219
1 changed files with 10 additions and 6 deletions
|
@ -106,14 +106,18 @@ function makeFragment() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
type Shortcuts = { [short: string]: Set<string> };
|
type Shortcuts = { [short: string]: Set<string> };
|
||||||
const shortcuts: Shortcuts = {
|
const shortcuts: Shortcuts = {
|
||||||
'summary': new Set('require_artsummary'),
|
summary: new Set(['require_artsummary']),
|
||||||
'colourexamples': new Set('require_colourexample'),
|
colourexamples: new Set(['require_colourexample']),
|
||||||
'flatexamples': new Set('require_flatexample'),
|
flatexamples: new Set(['require_flatexample']),
|
||||||
'sketchexamples': new Set('require_sketchexample'),
|
sketchexamples: new Set(['require_sketchexample']),
|
||||||
'iconexamples': new Set('require_iconexample'),
|
iconexamples: new Set(['require_iconexample']),
|
||||||
'curated': new Set('require_curated')
|
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() {
|
function useFragment() {
|
||||||
|
|
Loading…
Reference in a new issue