s2geometry icon indicating copy to clipboard operation
s2geometry copied to clipboard

Add s2geometry.io website source from github.com/manshreck/s2geometry.github.io

Open ivan-gerasimov opened this issue 1 month ago • 5 comments

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!

ivan-gerasimov avatar Nov 27 '25 01:11 ivan-gerasimov

@jmr, @eengle can you please take a look at your convenience?

ivan-gerasimov avatar Nov 27 '25 01:11 ivan-gerasimov

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.

jmr avatar Nov 27 '25 07:11 jmr

#473 related

benguild avatar Nov 27 '25 07:11 benguild

What's with the CNAME changes? Why is CNAME being deleted?

jmr avatar Dec 02 '25 07:12 jmr

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.

ivan-gerasimov avatar Dec 02 '25 23:12 ivan-gerasimov

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.

jmr avatar Dec 15 '25 10:12 jmr