changes doc file paths to relative