Use relative path for `path` Liquid variable in Documents
Keep backwards compatibility

Re-add `relative_path` Liquid variable too keep compatibility
Merge pull request #2908 from alfredxing/document-path