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

Mirror on github pages? #38

Open
dannguyen opened this issue Oct 25, 2019 · 3 comments
Open

Mirror on github pages? #38

dannguyen opened this issue Oct 25, 2019 · 3 comments

Comments

@dannguyen
Copy link

Excellent work, and thank you for sharing it! The hosted version at http://www.labri.fr/perso/nrougier/python-opengl seems to be getting a lot of traffic, such that loading the pages from the U.S. can take 15 sec+. Since the HTML and assets are part of your repo, have you considered using Github Pages to host it? The default setting – Use the master branch for Github pages – would host the book at:

https://rougier.github.io/python-opengl/book.html

Just to test it out, I forked your repo and enabled Github Pages, and this is what it looks like:

https://blahs555.github.io/python-opengl/book.html

Assuming you want Google's crawler to give your original domain the SEO credit for your work, you can always add a link canonical meta tag to the book.html:

<link rel="canonical" href="https://www.labri.fr/perso/nrougier/python-opengl/" />
@rougier
Copy link
Owner

rougier commented Oct 28, 2019

Thanks for the suggestion and I'll do just that. Could make a PR for the metatag?

@dannguyen
Copy link
Author

I'm not sure I can make a pull request that reflects that meta-change. I think you have to flip the switch manually by going into https://github.com/rougier/python-opengl/settings and picking the "master branch" setting under the Github Pages heading:
image

@rougier
Copy link
Owner

rougier commented Dec 1, 2019

Done ! Need to update the book to reflect it.

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

No branches or pull requests

2 participants