add relative link to document