Skip to content
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

Redirect website to real root domain #146

Merged
merged 1 commit into from
Oct 30, 2019

Conversation

zpao
Copy link
Contributor

@zpao zpao commented Oct 30, 2019

For "reasons", we don't actually have a CNAME set up in GitHub. The
result is that GitHub doesn't know that pytorch.org/captum should
actually redirect to captum.ai. This change puts a bit of JS on every
page in prod that will do that redirect. We should fix it properly but
at least we'll have something in place.

For "reasons", we don't actually have a CNAME set up in GitHub. The
result is that GitHub doesn't know that pytorch.org/captum should
actually redirect to captum.ai. This change puts a bit of JS on every
page in prod that will do that redirect. We should fix it properly but
at least we'll have something in place.
zpao added a commit to zpao/botorch that referenced this pull request Oct 30, 2019
zpao added a commit to zpao/botorch that referenced this pull request Oct 30, 2019
Copy link
Contributor

@orionr orionr left a comment

Choose a reason for hiding this comment

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

LGTM

@orionr orionr merged commit 187316c into pytorch:master Oct 30, 2019
@zpao
Copy link
Contributor Author

zpao commented Oct 30, 2019

FYI: don't forget to rebuild & deploy the website to pick this up (generally should treat that gh-pages branch as a build artifact, I won't send any PRs against it)

@orionr
Copy link
Contributor

orionr commented Oct 30, 2019

Looking to have automatic deploys to captum.ai from master, but running into some snags at https://circleci.com/gh/pytorch/captum/1867 cc'ed @jlin27 and @JoelMarcey on this, since I'm not sure what we need to setup in CircleCI to have https://docusaurus-bot@github.com password set

@JoelMarcey
Copy link

I think we are on our way to solving this - might have been a misnamed env variable in the config.

facebook-github-bot pushed a commit to pytorch/botorch that referenced this pull request Nov 1, 2019
Summary:
Same as pytorch/captum#146

Fixes #300
Pull Request resolved: #306

Reviewed By: Balandat

Differential Revision: D18231026

Pulled By: Jakepodell

fbshipit-source-id: d93a2e1f82c87b6b79fbfc17fe3fbc78c4229679
NarineK pushed a commit to NarineK/captum-1 that referenced this pull request Nov 19, 2020
Redirect website to real root domain
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.

3 participants