noaa-fisheries-integrated-toolbox / FIT-committee

Communication for the FIT committee
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Update NMFS pkgdown template #47

Closed k-doering-NOAA closed 3 months ago

k-doering-NOAA commented 10 months ago

This entails editing the NOAA themed pkgdown blog post.

Here is the pkgdown template repo

MargaretSiple-NOAA commented 8 months ago

We moved this repo over to NMFS Open Sci (Eli, Bai and Christine all agreed this was a good place to put it). And Kathryn and I edited the pkgdown blog post on the FIT website. My next step will be to test the instructions with an example R package, and then I think this task will be complete!

MargaretSiple-NOAA commented 7 months ago

I tested the tutorial with an experimental package of my own (palettehelper) and it worked great! I started with a pre-existing package repo, as we discussed.

So the final assessment of this was; we moved the repo over to NMFS Open Sci, and revised the pkgdown blog post for the FIT blog. Going to close this issue because I think we are finished!

eeholmes commented 5 months ago

@MargaretSiple-NOAA I was mostly able to follow the blog to add pkgdown to someone's site with the following notes

Image

eeholmes commented 5 months ago

Also there is some weirdness in the css. Look at the side navbar

Image

MargaretSiple-NOAA commented 5 months ago

Thanks Eli, and yikes re: that icon size! That's a drive-thru icon. I did some experimenting with adding a hex sticker and can add that to the instructions. For a little more elaboration on the GitHub Actions part, did you use the {usethis} way, or did you use it without {usethis}?

I'll see what's up with the css. I just noticed that too. I hadn't looked at the references page yet. I think I just inherited the css from the previous version so may have to do some digging.

eeholmes commented 5 months ago

I put in a PR to fix the image size. I'd forgotten that I'd fixed this some time ago in my pkgdown template but that fix didn't get migrated upward.

eeholmes commented 5 months ago

Re logo:

eeholmes commented 5 months ago

Re GitHub Action, I used the gh4actions package but I knew what I was doing. It would be good to watch someone try to apply the instructions if they have no or limited experience with GH Actions.

I ended up bailing on the GA. It is someone elses pkg and too many dependencies.

k-doering-NOAA commented 4 months ago

Thanks Eli, and yikes re: that icon size! That's a drive-thru icon. I did some experimenting with adding a hex sticker and can add that to the instructions. For a little more elaboration on the GitHub Actions part, did you use the {usethis} way, or did you use it without {usethis}?

I'll see what's up with the css. I just noticed that too. I hadn't looked at the references page yet. I think I just inherited the css from the previous version so may have to do some digging.

@MargaretSiple-NOAA do you think we still need to make edits to the blog post? If so, feel free to put coworking time on my calendar so we can finish it up!

@eeholmes , if you have thoughts on additional documentation need for ghactions, please feel free to make changes on the blog post and submit it as a PR. I cannot tell what is missing, but if someone from the FIT committee with limited ghactions experience could volunteer to test out the blog post, I think that could be helpful!

eeholmes commented 4 months ago

Re GA documentation, Let's ask someone inexperienced try to follow the instructions at the next FIT meeting.

MargaretSiple-NOAA commented 4 months ago

So sorry for the delay on this you two. I plan to do this work this week. We will likely need to edit the blog post but I'll take a look and see what we should revise. I had no trouble following the instructions and don't frequently use GHA, but I can revisit.

k-doering-NOAA commented 3 months ago

@Bai-Li-NOAA just fixed the CSS issue here: https://github.com/nmfs-fish-tools/nmfspalette/pull/31

I think it should auto update if people are refering to the nmfspalette css file.

As for gha, I think it is fine to leave it as-is if @MargaretSiple-NOAA is not a frequent GHA user and found the instructions possible to follow. I'm going to close this, but feel free to reopen if there are things to revisit.

MargaretSiple-NOAA commented 3 months ago

Thank you Kathryn! Yes if the css change fixed the menu issue, that's probably the most glaring issue. I am not a frequent GHA user and was able to follow the instructions, but can run through them again for thoroughness. If I find anything crazy, I'll reopen but I think they're okay.

I have a fork where I'm adding instructions for adding a logo / favicon and will make a pull request.

k-doering-NOAA commented 3 months ago

@MargaretSiple-NOAA yes, it will solve the menu issue.

Thanks for working on the instructions for adding a logo! I think it's ok to leave the github actions instructions as-is.