Openscapes / how_we_work

Public planning and "how we work" examples from the Openscapes community
7 stars 1 forks source link

migrate events page > quarto #150

Closed jules32 closed 2 years ago

jules32 commented 2 years ago

Earlier in April I made a branch and the first steps at migrating the events page from distill to quarto. This is not a huge priority but I wanted to document it here to pick up and complete it. I think that 1-2 hours of co-working might be all we need to finish doing so, especially having read Danielle Navarro's blog post https://blog.djnavarro.net/posts/2022-04-20_porting-to-quarto/. cc'ing @stefaniebutland if there's a week that time-wise makes sense to schedule an hour together to just go for it!

Current status:

Next steps:

What it looks like now:

image
stefaniebutland commented 2 years ago

cc'ing @stefaniebutland if there's a week that time-wise makes sense to schedule an hour together to just go for it!

Weeks of May 2, 9, or 16 are good for me.

stefaniebutland commented 2 years ago

Stef & Julie coworked on this May 5.

stefaniebutland commented 2 years ago

In the Quarto previews, for posts that have a TOC in the live Events page, TOC does not appear. I left the distill bit in these for now.

stefaniebutland commented 2 years ago

See Danielle Navarro's post to fix TOC and Citations. "Specifying the table of contents is slightly different..." "One feature in distill that I like is that it generates a citation for each post..."

stefaniebutland commented 2 years ago

Nice to have or need to have?

stefaniebutland commented 2 years ago

Notes on adding citations SHA

Quarto docs citation example:

Screen Shot 2022-05-06 at 2 12 35 PM

Preview of Beth's post

Screen Shot 2022-05-06 at 2 15 38 PM
jules32 commented 2 years ago

Awesome, thanks for this progress @stefaniebutland ! We can plan to co-work more on this on Tuesday :)

stefaniebutland commented 2 years ago
jules32 commented 2 years ago

Woohoo nice job @stefaniebutland look at our nice events quarto site!

I wrote up a few notes about distill here - feel free to add any other thoughts. https://openscapes.github.io/quarto-website-tutorial/transition-from-rmarkdown.html#distill-to-quarto

image
stefaniebutland commented 2 years ago

@jules do we need a redirect as you suspected?

Link in citation for a post gives 404: Openscapes. 2022. “A Qualitative Data Analysis Chat with Beth Duckles.” April 8, 2022. https://openscapes.org/posts/2022-04-08-qda-beth-duckles.

Is that 'cause it's really https://openscapes.github.io/events ?

jules32 commented 2 years ago

Ah yes, I think this is because it should be openscapes.github.io listed in the _quarto.yml; we have it redirect only for openscapes.org/events but not for any specific posts from there

jules32 commented 2 years ago

OK @stefaniebutland I've fixed this redirect issue by having the correct site-url: https://openscapes.github.io/events: (commit)

jules32 commented 2 years ago

And I've fixed the strange issue of the body text showing upby updating the description field (instead of subtitle as it was in distill: (commit)

Screen Shot 2022-05-10 at 6 35 37 PM
jules32 commented 2 years ago

Hi @stefaniebutland, I've updated the way that we publish the events page, using GitHub Actions and updating our .gitignore after talking to Mine Cetinkaya-Rundel. I've written up notes here as a start, and we can refine them when we do it again (with screenshots, etc): https://openscapes.github.io/quarto-website-tutorial/transition-from-rmarkdown.html#distill-to-quarto.

See what you think, and then let's close this issue! woooo

stefaniebutland commented 2 years ago

Hi @jules32, I added some notes in this PR and proposed Events README update in this PR .

Once you've requested or made edits and merged then we're good to close the issue. Woooooo indeed!

jules32 commented 2 years ago

Reviewed and merged! 🥳