scribble: prefer dest-relative paths to collection-relative paths
Documentation for a user-scoped package is rendered inside a collection path but moved outside of the collection path when later installed in installation-wide, so it's important to try a destination-relative path first. original commit: 301bdf9764d898fdadd6105a97462d1c87fb625e
This commit is contained in:
parent
54a1dbc33f
commit
7308e4cc10
|
@ -259,9 +259,12 @@
|
|||
(define (path->relative p)
|
||||
(let ([p (path->main-doc-relative p)])
|
||||
(if (path? p)
|
||||
(let ([p (path->collects-relative p)])
|
||||
(let ([p (path->root-relative p)])
|
||||
(if (path? p)
|
||||
(path->root-relative p)
|
||||
(let ([p (path->collects-relative p)])
|
||||
(if (path? p)
|
||||
p
|
||||
(intern-taglet p)))
|
||||
(intern-taglet p)))
|
||||
(intern-taglet p))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user