From b0ca842c7290574b17506533238c4730be304500 Mon Sep 17 00:00:00 2001 From: csh Date: Mon, 12 Jan 2026 16:16:51 +0800 Subject: [PATCH] :wrench: fix(sync): rewrite docs path in agents --- scripts/sync_standards.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/sync_standards.sh b/scripts/sync_standards.sh index 1060754..d61aab3 100644 --- a/scripts/sync_standards.sh +++ b/scripts/sync_standards.sh @@ -128,11 +128,11 @@ if [ -n "$REL_SNAPSHOT" ]; then [ -f "$md" ] || continue tmp="$(mktemp 2>/dev/null || echo "$AGENTS_DST/.rewrite.$(basename "$md").$timestamp")" sed \ - -e "s#\\\`docs/tsl/#\\\`$DOCS_PREFIX/tsl/#g" \ - -e "s#\\\`docs/cpp/#\\\`$DOCS_PREFIX/cpp/#g" \ - -e "s#\\\`docs/python/#\\\`$DOCS_PREFIX/python/#g" \ - -e "s#\\\`docs/markdown/#\\\`$DOCS_PREFIX/markdown/#g" \ - -e "s#\\\`docs/common/#\\\`$DOCS_PREFIX/common/#g" \ + -e "s#\`docs/tsl/#\`$DOCS_PREFIX/tsl/#g" \ + -e "s#\`docs/cpp/#\`$DOCS_PREFIX/cpp/#g" \ + -e "s#\`docs/python/#\`$DOCS_PREFIX/python/#g" \ + -e "s#\`docs/markdown/#\`$DOCS_PREFIX/markdown/#g" \ + -e "s#\`docs/common/#\`$DOCS_PREFIX/common/#g" \ "$md" >"$tmp" mv "$tmp" "$md" done