help.html: support ui/tools/error-list/icons also.
parent
868d970784
commit
2e2f1d673a
|
@ -151,7 +151,7 @@ M: pathname url-of
|
||||||
dup "src" attr
|
dup "src" attr
|
||||||
|
|
||||||
! use @2x retina images
|
! use @2x retina images
|
||||||
dup "@2x.png" tail? [
|
"@2x" over subseq? [
|
||||||
"." split1-last "@2x." glue
|
"." split1-last "@2x." glue
|
||||||
] unless
|
] unless
|
||||||
|
|
||||||
|
@ -159,6 +159,9 @@ M: pathname url-of
|
||||||
"vocab:definitions/icons/" ?head
|
"vocab:definitions/icons/" ?head
|
||||||
[ "/icons/" prepend ] when
|
[ "/icons/" prepend ] when
|
||||||
|
|
||||||
|
"vocab:ui/tools/error-list/icons/" ?head
|
||||||
|
[ "/icons2/" prepend ] when
|
||||||
|
|
||||||
"src" set-attr
|
"src" set-attr
|
||||||
] [ drop ] if
|
] [ drop ] if
|
||||||
] deep-each
|
] deep-each
|
||||||
|
|
|
@ -41,6 +41,7 @@ TUPLE: help-webapp < dispatcher ;
|
||||||
help-dir <search-action> <secure-only> "search" add-responder
|
help-dir <search-action> <secure-only> "search" add-responder
|
||||||
help-dir <static> <secure-only> "content" add-responder
|
help-dir <static> <secure-only> "content" add-responder
|
||||||
"resource:basis/definitions/icons/" <static> <secure-only> "icons" add-responder ;
|
"resource:basis/definitions/icons/" <static> <secure-only> "icons" add-responder ;
|
||||||
|
"resource:basis/ui/tools/error-list/icons/" <static> <secure-only> "icons2" add-responder ;
|
||||||
|
|
||||||
: run-help-webapp ( -- )
|
: run-help-webapp ( -- )
|
||||||
"docs" cache-file <help-webapp>
|
"docs" cache-file <help-webapp>
|
||||||
|
|
Loading…
Reference in New Issue