path with / between its parts and none before the first.
path
/
String notationSitePath(String path) => path.replaceAll(r'\', '/').replaceFirst(RegExp(r'^(\./|/)+'), '');