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

Consider alternatives to GitHub Pages #4153

Open
handrews opened this issue Oct 22, 2024 · 3 comments
Open

Consider alternatives to GitHub Pages #4153

handrews opened this issue Oct 22, 2024 · 3 comments

Comments

@handrews
Copy link
Member

GitHub Pages has several very problematic limitations for a project focused on HTTP standards:

  • It does not allow setting Content-Type except via file extension, which is not how our schemas work
  • It does not support HTTP redirects, only HTML-driven refresh-redirects

The first two are essential for us, as we want to have our JSON Schemas served as JSON, and we want to have a latest resource that uses redirects instead of serving a schema with a mismatched $id (this helps prevent people from thinking that the latest URI can be used in $refs, etc.).

Netlify seems to be the most popular suggestion on our Slack, with @jmertic having seen it used for similar purposes and at least one other person recommending it. I've also seen Cloudflare Pages used. Both can run from GitHub repos, and I'm pretty sure both can solve both of our main problems. The distinction might be which has the most services available through any sort of open source foundation-oriented plan (I believe both have or at least once had such plans), which I have not investigated at all.

@handrews
Copy link
Member Author

Also, jekyll and liquid frustrate everyone endlessly AFAICT. We'd have much better sites in a better system.

@lornajane
Copy link
Contributor

I'm very much in favour of choosing a different/better platform. I'd like to note that learn.openapis.org does also use Jekyll.

@handrews
Copy link
Member Author

@lornajane yeah spec.openapis.org, learn.openapis.org, and tools.openapis.org are all GitHub Pages/Jekyll/Liquid. While the frustration is most acute with the spec site, it's a problem for the others as well, just in terms of the flexibility of layout and who is able to work on them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants