Skip to main content

page_link

Function page_link 

Source
fn page_link(page: &Path, _current_page: &Path) -> String
Expand description

Produce a vocs-style link from page relative to current_page.

vocs uses root-relative links (starting with /). Forward slashes are always used so the URL stays correct on Windows.