This module offers utilities to convert paths into different formats.
In all functions the argument can indifferently be a relative (i.e. beginning with ./
or ../
or /
) or an absolute path.
abs
The abs
function parses the argument and returns it as an absolute path.
↳
↳
↳
↳
rel
The rel
function parses the argument and returns it as a relative path.
↳
↳
↳
↳
↳
sub
The sub
function parses the argument and returns it as a partial path with only the subpages shown.
↳
↳
↳
↳
↳