modifying abspath for docs