OAI / OpenAPI-Specification

The OpenAPI Specification Repository
https://openapis.org
Apache License 2.0
29.09k stars 9.08k forks source link

Consider alternatives to GitHub Pages #4153

Open handrews opened 1 month ago

handrews commented 1 month ago

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

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 commented 1 month ago

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

lornajane commented 1 week ago

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 commented 1 week ago

@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.