move release notes in appropriate packages
A collection declares release notes with a `release-notes' field in "info.rkt". The "doc" directory is now populated exclusively by generated content, instead of having a static "release-notes" directory (and a "keep-dirs.rktd" file to record the static directories). original commit: fa6f56fcb118a99a803697de6cdc7ee7fd9688a4
This commit is contained in:
parent
b79fa2c540
commit
86f7170151
|
@ -22,5 +22,6 @@
|
|||
|
||||
[part-link-redirect ([url url?])]
|
||||
[install-resource ([path path-string?])]
|
||||
[link-resource ([path path-string?])]
|
||||
|
||||
[head-extra ([xexpr xexpr/c])])
|
||||
|
|
|
@ -1262,7 +1262,11 @@
|
|||
[resources (for/list ([p (in-list properties)]
|
||||
#:when (install-resource? p))
|
||||
(install-resource-path p))]
|
||||
[link? (and (ormap target-url? properties)
|
||||
[link-resource (for/or ([p (in-list properties)]
|
||||
#:when (link-resource? p))
|
||||
(link-resource-path p))]
|
||||
[link? (and (or (ormap target-url? properties)
|
||||
link-resource)
|
||||
(not (current-no-links)))]
|
||||
[anchor? (ormap url-anchor? properties)]
|
||||
[attribs
|
||||
|
@ -1317,7 +1321,11 @@
|
|||
[link? 'a]
|
||||
[newline? 'br]
|
||||
[else 'span])
|
||||
,attribs
|
||||
,(append
|
||||
(if link-resource
|
||||
`([href ,(install-file link-resource)])
|
||||
null)
|
||||
attribs)
|
||||
,@content))))))
|
||||
|
||||
(define/private (element-style->attribs name style [extras null])
|
||||
|
|
Loading…
Reference in New Issue
Block a user