-
-
Notifications
You must be signed in to change notification settings - Fork 36
Reformat pkgdown workflow #292
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
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #292 +/- ##
=======================================
Coverage 92.54% 92.54%
=======================================
Files 31 31
Lines 3018 3018
=======================================
Hits 2793 2793
Misses 225 225 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
On second though, if possible, it might make more sense to automatically build and deploy sites to https://dev.mc-stan.org/loo/ and setup another workflow to generate the site on releases which would get pushed to https://mc-stan.org/loo/. |
Obviated |
Yeah I agree that it would be preferable to only publish the site on https://mc-stan.org/loo/ when we do a release. If we publish at the main URL on every commit to master then the website could advertise unreleased features that aren't available on CRAN yet. |
I think this looks good. But the regenerated website pages that are part of this PR are for the development version of loo, not the released version. So if I merge this won't it update the website to the development version? |
Right, I'll move files from the gh-pages branch into the docs folder then |
https://github.com/stan-dev/loo/actions/runs/15627201098/job/44023603976 Looks like the vignettes get built too. |
.\docs
The repo's Pages settings will have to be updated to point towards the master branch and
.\docs
Note that the site is built with Bootstrap 3 which has been deprecated for a while. Swapping to Bootstrap 5 would require some SCSS/CSS to maintain the exact theme, or a coordinated change of themes from all Stan pkgdown sites (probably through a template package). This PR doesn't attemp to further either goal, and sticks with the usual Bootstrap 3 and Cosmo from Bootswatch 3.