-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
3.4 gitlab pages improvement #603
Comments
Hi @anna-doizy, Thanks a lot for sharing this! If both yaml will lead to same result (a hugo website) they use different ways, and main difference is that the first require R and the other only hugo. Here is a bit more context on the difference about this two valid workflows. Basically, the second workflow will be the more efficient if you have already built all your Rmd file to In fact, with last version,
So yes, a blogdown project can have all its Rmd file build locally, then result I don't think this is a hack at all. You are using Hugo directly and this is perfectly fine if you know how to use it. blogdown is compatible with Hugo 100% and is here to help R user create a website without necessarily know about Hugo. About the difference in timing, I believe this is because you are installing all the R packages without using a cache or a binary install. First, if you only want to build the site (
Again, thanks a lot for sharing. This is very important for us ! |
Thank you so much, it is so nice to get such clear explanation! I managed to decipher only part of it with a lot of trial and error and I'm really glad to know that it will be explained in this book. I'm very glad that blogdown is fully compatible with Hugo because it allows me to work on websites with other people who don't use R at all while me keeping my beloved RStudio IDE ;) Thanks again and good luck with the writing! |
Oh yeah before with <1.0.0 it would have been more painful. You can know more of the new stuff, especially regarding workflow in https://blog.rstudio.com/2021/01/18/blogdown-v1.0/
With new RStudio IDE 1.4 there is a new visual editor (https://blog.rstudio.com/2020/09/30/rstudio-v1-4-preview-visual-markdown-editing/) and it is really useful for non R user too because it makes writing RMarkdown or just Markdow file really easy !
Thank you - The difficult part is to make time to improve the docs and examples ! |
Hi Yihui, Amber & Alison,
I'm not completely sure of myself, but as it worked for me maybe it can help other people.
I changed my
gitlab-ci.yml
fromto the usual hugo one
and the deployment time dropped from 30 minutes to 30 seconds! Tidyverse and the other packages I needed are the longest to load. The new config seems to work for
.rmd
content as well because of their trailing.html
, so it is a bit of a hack because this was probably not expected by you, developer ;)Well I was thinking maybe it is worth a while to test the robustness of this config a bit further (I use wowchemy and icon hugo themes but don't have any sophisticated workflow) and let it know to the wide world.
Cheers
Anna
The text was updated successfully, but these errors were encountered: