epiverse-trace / epiverse-trace.github.io

Technical blog of the Epiverse-TRACE project, where we share opinions and investigations in R package development, or scientific software development more generally
https://epiverse-trace.github.io/
3 stars 3 forks source link

Add resource workflow + page #241

Closed chartgerink closed 5 months ago

chartgerink commented 5 months ago

This PR adds a resource page and workflow. This builds on the work from #234 and does the following:

  1. Collects all the discussion forum posts under the resource category (each morning)
  2. Writes out the discussions to a file each under the ./resources/<id>.qmd, with a YAML header containing the relevant metadata. Included metadata at this time:
    • title
    • url
    • date
    • author
    • categories (i.e., labels in the forum)
    • upvotes
  3. Renders the listings under ./resources/ on the /resources page, displaying the upvote count, date added, and all categories

Given that the resources section on the forum is still empty, it currently will look empty upon merge. I add a video for display purposes:

https://github.com/epiverse-trace/epiverse-trace.github.io/assets/2946344/9eb5bd1f-6959-4181-b931-5ee1f595a509


I am pretty pleased I was able to set all of this up - and excited to hear your thoughts! Of course there's plenty of room for improvement, so looking forward to the feedback 😊

netlify[bot] commented 5 months ago

Deploy Preview for tourmaline-marshmallow-241b40 ready!

Name Link
Latest commit 1a463af3c5ec5bde643154a17878dd3484df4078
Latest deploy log https://app.netlify.com/sites/tourmaline-marshmallow-241b40/deploys/66389762f5c34b0008ba5b76
Deploy Preview https://deploy-preview-241--tourmaline-marshmallow-241b40.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.