|
|
|
|
|
by smagch
3541 days ago
|
|
Docker documentation recently moved away from Hugo in favor of Jekyll. https://blog.docker.com/2016/09/announcing-new-docs-repo-git... In the blog article above, they mentioned a problem they faced. > The docs were built around Hugo, which is not natively supported by GitHub, and took minutes to build, and even longer for us to deploy. I've been using Middleman for static site for a couple of years. I'm thinking about moving to Hugo because I read HN comments Hugo is much faster than other alternatives. But reading the official Docker blog, I'm thinking twice. Could anyone tell me the reason why Docker blog took too much time to build with Hugo that is supposed to build really fast? |
|
> the reason why Docker blog took too much time to build
Not the blog, but documentation. And it takes so much time because it's just so huge. Just by itself it would be pretty big, but consider that they maintain a clone for each release version. You end up with lots of documents very fast.
What I'm not sure about is why it would have to be completely rebuilt every time since the build results would have to be committed. Maybe they had two repositories? Or Hugo can't do "incremental" builds well?