Add s2geometry.io website source from github.com/manshreck/s2geometry.github.io
Hi team,
This pull request adds the source code for the s2geometry.io website. The goal is to migrate the site to a Google-controlled repository. This will allow us to fix the HTTPS certificate issue and resolve the "Not Secure" browser warning.
Directory Choice: /docs
The website source files have been placed in the /docs directory.
I understand that having both a /doc and a /docs directory might seem a bit confusing. The /docs directory was chosen because this is the standard folder name that GitHub Pages uses to publish a website from the master branch.
We can discuss changing this structure in the future if the current arrangement is inconvenient for the team.
Next Steps
After this PR is merged, the s2geometry.io custom domain can be configured in the repository settings to serve from this /docs folder, and the DNS records can be updated.
Thanks!
@jmr, @eengle can you please take a look at your convenience?
These should really be added back to the util/geometry/opensource export. Most (all?) of these files exist in util/geometry/g3doc/. It's just going to cause problems to add them separately.
#473 related
What's with the CNAME changes? Why is CNAME being deleted?
What's with the CNAME changes? Why is CNAME being deleted?
Hi @jmr,
Good question. The CNAME file is managed by GitHub's Pages service. It was automatically deleted when the custom domain in the repository settings was explicitly cleared.
GitHub will auto-generate the CNAME file again once "s2geometry.io" is set as the custom domain in the settings for the repository that will host the live site.
This action is currently blocked because the domain is still associated with the old "manshreck/s2geometry.github.io" repository. After that association is removed, we can configure the domain here and the file will be automatically populated by GitHub.
This will allow us to fix the HTTPS certificate issue and resolve the "Not Secure" browser warning.
I see a new certificate has been issued.
I assume it's being served out of https://github.com/ivan-gerasimov/s2geometry.
So, closing this and we can import (or use another repo) when the duplication and freshness have been sorted out.