Documentation platforms Netlify vs GitHub pages #888
Replies: 3 comments 7 replies
-
I have no strong opinion about Netlify. I am happy to move in any direction you think is best. We can do some degree of redirection with Astro in the front end, but it might be handy to set server redirects. So maybe better to keep Netlify if we can. The The way it works is that the browser adds an HTTP header called My Firefox, for example, sends this one:
It's a comma-separated list of locales and a q number (between 0 and 1) to indicate the order of preference. The default is 1, so the first entry often is the first choice and has no explicit number. In this case, it asks for:
Netlify sees this and uses the list of redirects to send me to the proper translation. Curiously, I do not arrive at the Spanish translation with this header value because the redirects have no locale for es-ES, and I don't ask for generic Spanish (es). There is no en-US locale either, so Netlify gives the generic English (en) back. Note: this is not a problem with Netlify or the redirect config, it's because my browser setup is unusual 😂 normally someone in Spain, for example, would have |
Beta Was this translation helpful? Give feedback.
-
Thanks @lwasser! 🎉 It's great to know that we have access to DNS, Netlify, Crowdin and the GitHub org. Hopefully that is everything to keep the project running. I'm fairly familiar with using Netlify, from @the-turing-way. It isn't perfect, but it has quite a few handy features,
In terms of redirects specifically, you can write them in a My intuition would be, now that we have access to all the infrastructure, don't make changes right away. However, if we find problems we can always move in the future. |
Beta Was this translation helpful? Give feedback.
-
ok I have one question for @flpm @JimMadge here. I can get an open source plan for Netlify. I suspect that Jake has the bot in a team plan that they manage / own, and there is likely a fee for it. I can't add team members to my free Netlify account; I have to upgrade to paid. But I did email Netlify, and they will give us a free open source plan, I think, if I add a Netlify badge to our website! We weren't approved but they told me that was why. I'd like to avoid burdening Jake any more than necessary. They were kind enough to pay for the domain and set things up.
IF i get the open source Netlify plan for the website, we can then set up Netlify again in the future to take advantage of the translation features. And if we want to pay for the domain, we can ask Jake to update the DNS too. I think right now we should do what is easiest for Jake while we have a bit of his time. So, my vote (after doing some research) is to move forward with GitHub Pages and get things working there for the time being as a course of action that we have full control over and will limit how much we have to ask of Jake. In the meantime, we need to decide if we want a paid domain or not. (let's discuss this separately) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In this issue @JimMadge and @flpm discussed whether we should move away from Netlify (or not).
Previously, because we didn't have access to the Domain DNS, Netlify, and Crowdin, it made sense to rebuild the site using GitHub pages. However, we now have access to all of those things, which means we have more flexibility.
The question is moving forward: should we continue to use Netlify (but ensure that we have multiple people with sufficient access to it)? Or should we continue down the path of using GitHub Pages?
From my perspective (which might be wrong!), the one thing Netlify provides us is potential translation redirects based on a user's location. Although @JimMadge did find a redirect file recently as well!! So I might not understand how it works at all. I'd love everyone's feedback on this.
Beta Was this translation helpful? Give feedback.
All reactions