#idea-hrefWhere an idea’s minted page sits, relative to the page you are calling from. Takes a bare name, a full name or a label — the same forms #window and #hyperlink take — and must be called inside #context.
#import "@rookery/core:0.1.0": idea, idea-href
#idea("etal", title: [Et al.])[
Attribution flattens a crowd into one name.
]
#context idea-href("etal")
// -> "ideas/etal.html" called from a root page
// -> "../ideas/etal.html" called from a page one directory downThe depth arithmetic is measured from the calling page, so the same idea yields a different string on a nested page than on the root one. That is the point of the function, and it is why a caller must never cache the answer across pages.
none wherever no page is minted: a plain typst compile with no Rheo, and the combined PDF target.