8000 Replace links with 2.7.0 by svekars · Pull Request #31 · pytorch/docs · GitHub
[go: up one dir, main page]

Skip to content

Replace links with 2.7.0 #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2025
Merged

Replace links with 2.7.0 #31

merged 1 commit into from
May 16, 2025

Conversation

svekars
Copy link
Contributor
@svekars svekars commented May 16, 2025

Temporary fix for: pytorch/pytorch#153733
script:

# replace_github_links.sh
if [ "$1" == "" ]; then
  echo "Incorrect usage. Correct Usage: replace_github_links.sh <directory>"
  exit 1
fi

find $1 -name "*.html" -print0 | xargs -0 sed -i 's|github.com/pytorch/pytorch/blob/v2.7.1|github.com/pytorch/pytorch/blob/v2.7.0|g'

echo "Replaced v2.7.1 with v2.7.0 in GitHub links in $1 directory"

Ran ./replace_github_links.sh 2.7

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 16, 2025
@malfet malfet merged commit f9499a0 into site May 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0