fixes dynamic paths in docs from comments