Skip to content

move 1.10.2 docs to 1.10 #921

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 2 commits into from
Jan 31, 2022
Merged

move 1.10.2 docs to 1.10 #921

merged 2 commits into from
Jan 31, 2022

Conversation

mattip
Copy link
Contributor

@mattip mattip commented Jan 28, 2022

Closes #917

  • move 1.10.2 docs to 1.10
  • move the stable symlink to 1.10
  • edit all the html files:
    • change the <title> to "PyTorch 1.10 Documentation"
    • change the <div class="version"> to "1.10 "
  • edit the versions.html:
    • remove the 1.10.1, 1.10.0 links
    • add a 1.10 link and call it "stable"

@brianjo

The <link rel="canonical" ...> header does not require changing. They all point to "stable".

@netlify
Copy link

netlify bot commented Jan 28, 2022

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

🔨 Explore the source changes: 4e6ce3b

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

@brianjo
Copy link
Contributor

brianjo commented Jan 28, 2022

@mattip Matti, it looks like we're missing the GA block:

  <!-- Google Analytics -->
  
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-117752657-2"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'UA-117752657-2');
    </script>
  
  <!-- End Google Analytics -->

@mattip
Copy link
Contributor Author

mattip commented Jan 29, 2022

Done via the sed script in #871

@brianjo brianjo merged commit da9ea43 into pytorch:site Jan 31, 2022
facebook-github-bot pushed a commit to pytorch/pytorch that referenced this pull request Feb 1, 2022
Summary:
brianjo, malfet

The documentation team would prefer the [documentation versions] to only have a major.minor version, not major.minor.patch. See also pytorch/pytorch.github.io#921

The regex can be tested by this bash 1-liner (where $tag is something like `v10.1225.0rc1`)
```
echo $tag | sed -e 's/v*\([0-9]*\.[0-9]*\).*/\1/'
```

I have lost track a bit, is the CI run for a tag actually building and pushing documentation?

Pull Request resolved: #71985

Reviewed By: mrshenli

Differential Revision: D33845882

Pulled By: malfet

fbshipit-source-id: 3cb644d8b01f5ddf87c0ac7c43e23e9fd292d660
pytorchmergebot pushed a commit to pytorch/pytorch that referenced this pull request Feb 1, 2022
Summary:
brianjo, malfet

The documentation team would prefer the [documentation versions] to only have a major.minor version, not major.minor.patch. See also pytorch/pytorch.github.io#921

The regex can be tested by this bash 1-liner (where $tag is something like `v10.1225.0rc1`)
```
echo $tag | sed -e 's/v*\([0-9]*\.[0-9]*\).*/\1/'
```

I have lost track a bit, is the CI run for a tag actually building and pushing documentation?

Pull Request resolved: #71985

Reviewed By: mrshenli

Differential Revision: D33845882

Pulled By: malfet

fbshipit-source-id: 3cb644d8b01f5ddf87c0ac7c43e23e9fd292d660
(cherry picked from commit f884bd8)
cyyever pushed a commit to cyyever/pytorch_private that referenced this pull request Feb 3, 2022
Summary:
brianjo, malfet

The documentation team would prefer the [documentation versions] to only have a major.minor version, not major.minor.patch. See also pytorch/pytorch.github.io#921

The regex can be tested by this bash 1-liner (where $tag is something like `v10.1225.0rc1`)
```
echo $tag | sed -e 's/v*\([0-9]*\.[0-9]*\).*/\1/'
```

I have lost track a bit, is the CI run for a tag actually building and pushing documentation?

Pull Request resolved: pytorch/pytorch#71985

Reviewed By: mrshenli

Differential Revision: D33845882

Pulled By: malfet

fbshipit-source-id: 3cb644d8b01f5ddf87c0ac7c43e23e9fd292d660
(cherry picked from commit f884bd8)
cyyever pushed a commit to cyyever/pytorch_private that referenced this pull request Feb 3, 2022
Summary:
brianjo, malfet

The documentation team would prefer the [documentation versions] to only have a major.minor version, not major.minor.patch. See also pytorch/pytorch.github.io#921

The regex can be tested by this bash 1-liner (where $tag is something like `v10.1225.0rc1`)
```
echo $tag | sed -e 's/v*\([0-9]*\.[0-9]*\).*/\1/'
```

I have lost track a bit, is the CI run for a tag actually building and pushing documentation?

Pull Request resolved: pytorch/pytorch#71985

Reviewed By: mrshenli

Differential Revision: D33845882

Pulled By: malfet

fbshipit-source-id: 3cb644d8b01f5ddf87c0ac7c43e23e9fd292d660
(cherry picked from commit f884bd8)
cyyever pushed a commit to cyyever/pytorch_private that referenced this pull request Feb 9, 2022
Summary:
brianjo, malfet

The documentation team would prefer the [documentation versions] to only have a major.minor version, not major.minor.patch. See also pytorch/pytorch.github.io#921

The regex can be tested by this bash 1-liner (where $tag is something like `v10.1225.0rc1`)
```
echo $tag | sed -e 's/v*\([0-9]*\.[0-9]*\).*/\1/'
```

I have lost track a bit, is the CI run for a tag actually building and pushing documentation?

Pull Request resolved: pytorch/pytorch#71985

Reviewed By: mrshenli

Differential Revision: D33845882

Pulled By: malfet

fbshipit-source-id: 3cb644d8b01f5ddf87c0ac7c43e23e9fd292d660
(cherry picked from commit f884bd8)
cyyever pushed a commit to cyyever/pytorch_private that referenced this pull request Feb 9, 2022
Summary:
brianjo, malfet

The documentation team would prefer the [documentation versions] to only have a major.minor version, not major.minor.patch. See also pytorch/pytorch.github.io#921

The regex can be tested by this bash 1-liner (where $tag is something like `v10.1225.0rc1`)
```
echo $tag | sed -e 's/v*\([0-9]*\.[0-9]*\).*/\1/'
```

I have lost track a bit, is the CI run for a tag actually building and pushing documentation?

Pull Request resolved: pytorch/pytorch#71985

Reviewed By: mrshenli

Differential Revision: D33845882

Pulled By: malfet

fbshipit-source-id: 3cb644d8b01f5ddf87c0ac7c43e23e9fd292d660
(cherry picked from commit f884bd8)
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.

Generate 1.10 documentation (with no semvar feature version 1.10.2)
3 participants