We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 113ea05 commit 5da845fCopy full SHA for 5da845f
1 file changed
pipeline/core/builder.py
@@ -827,7 +827,12 @@ def convert_oss_link(match: re.Match) -> str:
827
post = match.group(3) # Everything after the URL
828
829
# Only convert absolute /oss/ paths that don't contain 'images' or '/oss/python' or '/oss/javascript'
830
- if url.startswith("/oss/") and "images" not in url and "/oss/python" not in url and "/oss/javascript" not in url:
+ if (
831
+ url.startswith("/oss/")
832
+ and "images" not in url
833
+ and "/oss/python" not in url
834
+ and "/oss/javascript" not in url
835
+ ):
836
# Convert to relative path that works from oss/python/* or oss/js/*
837
# e.g., /oss/releases/langchain-v1 becomes ../releases/langchain-v1
838
parts = url.split("/")
0 commit comments