sphinx: fixing conflicts between roles
sphinx: improve path handling