Skip to content

Conversation

@VisruthSK
Copy link
Member

@VisruthSK VisruthSK commented Dec 3, 2025

New website, GHA to autobuild site on commits to master.

This PR adds rstan/rstan/README.md to the package's gitignore (./rstan/.gitignore) and copies over the readme on every GHA build. This is to make the website update with the latest readme without having to manually copy anything, nor maintain two readmes in separate directories.

@jgabry
Copy link
Member

jgabry commented Dec 3, 2025

New website, GHA to autobuild site on commits to master.

It just occurred to me that (for historical reasons) RStan actually uses develop as the main branch, not master. I assume that's just a simple switch in the yaml file?

@VisruthSK VisruthSK marked this pull request as ready for review December 4, 2025 02:48
@VisruthSK VisruthSK requested a review from jgabry December 4, 2025 02:48
@jgabry
Copy link
Member

jgabry commented Dec 5, 2025

This is looking good. I made a few edits to vignette/doc that I just merged into this branch. I'll take a look again once the site rebuilds.

@jgabry
Copy link
Member

jgabry commented Dec 9, 2025

I think this is ready to go, but do you if the failure on macOS-latest (release) is related to this in any way?

@VisruthSK
Copy link
Member Author

Don't think so; I just changed the Action to no longer run on PRs, and Mac release passed on some of the older runs. Just reran anyway.

Copy link
Member

@jgabry jgabry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is ready to merge. @bgoodri this will automatically regenerate the new RStan website each time a release is tagged. It looks like releases haven't been tagged recently, so we should start doing that like we do for the other Stan R packages. In order to get the first version of this site rendered I'm going to tag a release now corresponding to the latest CRAN release (not releasing anything new that's on develop)

The main difference between this site and the old site is that it's been updated to match the new theme of the Stan website.

@jgabry jgabry merged commit 0532e93 into develop Dec 9, 2025
24 of 27 checks passed
@jgabry jgabry deleted the new-pkgdown-theme branch December 9, 2025 22:40
@jgabry
Copy link
Member

jgabry commented Dec 9, 2025

I'm going to tag a release now corresponding to the latest CRAN release (not releasing anything new that's on develop)

Actually it's pretty confusing to figure out how to exactly match the CRAN release, there doesn't even seem to be a point where the DESCRIPTION file has a commit that matches the package version number that's on CRAN now. So maybe I won't do that and I'll generate the website manually. Anyway, we should tag releases going forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants