Skip to content

Commit 6f09582

Browse files
committed
fix: support absolute path in target (#18)
1 parent 7c01ded commit 6f09582

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

sphinx_reredirects/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ def grab_redirects(self) -> Mapping[str, str]:
6767
# For each source-target redirect pair in conf.py
6868
for source, target in self.redirects_option.items():
6969
target = self._relativize_target_path(source, target)
70-
target = self._to_relative_path(source, target)
7170

7271
# no wildcard, append source as-is
7372
if not self._contains_wildcard(source):

0 commit comments

Comments
 (0)