Function relative_prefix
fn relative_prefix(generator: &'static str, page: &str) -> Result<String, Error>Expand description
The run of ../ that reaches docs/ from the directory holding page.
The same computation docs/_build/macros.py::_relative_prefix does on the
consuming side, from the same premise: a link’s prefix is a property of the page
being written, not of the generator writing it.