-
Notifications
You must be signed in to change notification settings - Fork 1
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
develop vignette to show how to set up pkgdown #9
Comments
Maybe we could add to the FIT pages instead of making a vignette; for example, we can add on to this pkgdown setup instructions to include instructions on setting up the automated workflow, for example. We could then link to it in the readme. |
Good idea. Below are two links that I found very helpful when setting up some of the reusable workflows.
|
+1 for this issue. |
Thanks @iantaylor-NOAA I was just thinking about this issue today, that in particular setting up pkgdown or bookdown is not documented here but should be. |
One thing that could help would be using the usethis ui_* functions to provide more info when the user sets up the action. |
I just went through the process of setting up pkgdown on SSMSE by following these instructions: https://noaa-fisheries-integrated-toolbox.github.io/resources/noaa%20resources/NOAA-pkgdown/ It was pretty straightforward, except I also had a bookdown user manual that needed to live in the docs/ folder. I ended up setting up a custom workflow so I could render the pkgdown followed by bookdown, then deploy both. If I didn't also have the bookdown, there would have not been any issues. I think the takeaway here is to tell people to set up their pkgdown locally, check that it works, then tell them to add the github action and point it to gh pages. All of the steps are listed in the FIT blog post so I think linking it in the vignette/use_pkgdown function reference should be sufficient. |
The level of detail in the readme may not yet be sufficient for people new to github actions. We may want to create a vignette that shows step-by-step how to set up the workflows and describe potential issues/decision points.
The text was updated successfully, but these errors were encountered: