Skip to content

Conversation

@svekars
Copy link
Contributor

@svekars svekars commented Nov 10, 2025

Ran:

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.9.1|github.com/pytorch/pytorch/blob/v2.9.0|g'

echo "Replaced v2.9.1 with v2.9.0 in GitHub links in $1 directory"

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 10, 2025
Copy link
Contributor

@atalman atalman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Thank you @svekars

@svekars svekars merged commit fcf521e into site Nov 10, 2025
1 check passed
@svekars svekars deleted the fix-links-to-2.9 branch November 10, 2025 21:55
pytorchmergebot pushed a commit to pytorch/pytorch that referenced this pull request Nov 11, 2025
…inal RC (#167478)

Enable Doc builds for
1. Minor Releases RCs
2. Minor and Patch Releases final RC

This is done to prevent publishing doc for patch releases when building rcs.
See:
pytorch/docs#57

Followup after: #153973
Pull Request resolved: #167478
Approved by: https://github.com/svekars, https://github.com/seemethere
pytorchbot pushed a commit to pytorch/pytorch that referenced this pull request Nov 11, 2025
…inal RC (#167478)

Enable Doc builds for
1. Minor Releases RCs
2. Minor and Patch Releases final RC

This is done to prevent publishing doc for patch releases when building rcs.
See:
pytorch/docs#57

Followup after: #153973
Pull Request resolved: #167478
Approved by: https://github.com/svekars, https://github.com/seemethere

(cherry picked from commit f633119)
atalman added a commit to pytorch/pytorch that referenced this pull request Nov 11, 2025
…inal RC (#167494)

Enable Doc builds for: Minor Releases RCs. Minor and Patch Releases final RC (#167478)

Enable Doc builds for
1. Minor Releases RCs
2. Minor and Patch Releases final RC

This is done to prevent publishing doc for patch releases when building rcs.
See:
pytorch/docs#57

Followup after: #153973
Pull Request resolved: #167478
Approved by: https://github.com/svekars, https://github.com/seemethere

(cherry picked from commit f633119)

Co-authored-by: atalman <atalman@fb.com>
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