Skip to content

Add meta no-index tags to 1.3.1 docs #491

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
Oct 1, 2020
Merged

Conversation

zou3519
Copy link
Contributor

@zou3519 zou3519 commented Oct 1, 2020

This hides 1.3.1 docs from google search, among other things.

I ran the following command inside the docs/1.3.1 folder:

  • find . -name "*.html" -print0 | xargs -0 sed -i '/<head>/a \ \ <meta name="robots" content="noindex">'
    This command adds a meta robots noindex tag directly after the <head> begin tag.

Test Plan:

  • viewed docs locally
  • wait for site preview

This hides 1.3.1 docs from google search, among other things.

I ran the following command inside the docs/1.3.1 folder:
- `find . -name "*.html" -print0 | xargs -0 sed -i '/<head>/a \ \ <meta name="robots" content="noindex">'`
This command adds a meta robots noindex tag directly after the `<head>` begin tag.

Test Plan:
- viewed docs locally
- wait for site preview
@netlify
Copy link

netlify bot commented Oct 1, 2020

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

Building with commit 5217d94

https://app.netlify.com/sites/pytorch-dot-org-preview/deploys/5f75f3e711c3740008cbbf7b

@zou3519 zou3519 requested a review from jlin27 October 1, 2020 16:48
@zou3519 zou3519 merged commit 772e4ca into pytorch:site Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants