python-opengl
python-opengl copied to clipboard
Mirror on github pages?
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/" />
Thanks for the suggestion and I'll do just that. Could make a PR for the metatag?
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:

Done ! Need to update the book to reflect it.