Skip to content

Update v1.9.1 docs. #846

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
Sep 21, 2021
Merged

Update v1.9.1 docs. #846

merged 1 commit into from
Sep 21, 2021

Conversation

zou3519
Copy link
Contributor

@zou3519 zou3519 commented Sep 21, 2021

What did we do?

  • Replaced incorrect headings (they said 1.9.0)
  • Replaced the version hash in the version selector with 1.9.1
  • Changed the stable symlink to point at 1.9.1
  • Added noindex tags to 1.9.0 docs to prevent google from indexing them.

This was done via the following:

cd pytorch.github.io/docs/1.9.1
find . -type f -print0 | xargs -0 sed -i 's$PyTorch 1.9.0 documentation</title>$PyTorch 1.9.1 documentation</title>$g'
find . -type f -print0 | xargs -0 sed -i 's$1.9.0a0+gitdfbd030$1.9.1$g'
cd pytorch.github.io
ln -sfn docs/1.9.1 docs/stable
./scripts/add_noindex_tags.sh ./docs/1.9.0

Test Plan:

  • wait for preview

What did we do?
- Replaced incorrect headings (they said 1.9.0)
- Replaced the version hash in the version selector with 1.9.1
- Changed the stable symlink to point at 1.9.1
- Added noindex tags to 1.9.0 docs to prevent google from indexing them.

This was done via the following:
```
cd pytorch.github.io/docs/1.9.1
find . -type f -print0 | xargs -0 sed -i 's$PyTorch 1.9.0 documentation</title>$PyTorch 1.9.1 documentation</title>$g'
find . -type f -print0 | xargs -0 sed -i 's$1.9.0a0+gitdfbd030$1.9.1$g'
cd pytorch.github.io
ln -sfn docs/1.9.1 docs/stable
./scripts/add_noindex_tags.sh ./docs/1.9.0
```

Test Plan:
- wait for preview
@netlify
Copy link

netlify bot commented Sep 21, 2021

👷 Deploy Preview for pytorch-dot-org-preview processing.

🔨 Explore the source changes: d783b7f

🔍 Inspect the deploy log: https://app.netlify.com/sites/pytorch-dot-org-preview/deploys/6149eba89d1dbb00073fcd3d

@zou3519 zou3519 requested a review from brianjo September 21, 2021 14:27
@brianjo
Copy link
Contributor

brianjo commented Sep 21, 2021

Tested the symlink and the docs. versions.html updated in #845

@malfet malfet merged commit 1323ea4 into site Sep 21, 2021
@malfet malfet deleted the site-v1.9.1 branch September 21, 2021 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants