Skip to content

Commit 1204b62

Browse files
committed
Fix merge
1 parent 5e8d6b6 commit 1204b62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readthedocs/config/validation.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ def validate_path(value, base_path):
7979
string_value = validate_string(value)
8080
if not string_value:
8181
raise ValidationError(value, INVALID_PATH)
82-
pathed_value = os.path.join(base_path, string_value)
83-
final_value = os.path.abspath(pathed_value)
84-
return final_value
82+
full_path = os.path.join(base_path, string_value)
83+
rel_path = os.path.relpath(full_path, base_path)
84+
return rel_path
8585

8686

8787
def validate_string(value):

0 commit comments

Comments
 (0)