Closed annajiat closed 2 years ago
I can take care of this, Annajiat.
Great, thanks @maxim-belkin
No worries! Thanks for reminding me to take care of this. I've synced the lesson style files with carpentries/styles in d285ec4 and anchor links are now automatically added to all HTML headings.
@maxim-belkin Would it be possible to refer me to some documentation using which I can try learning to do the same too? I've been bugging @zkamvar for this. Thanks in advance.
I have a vague recollection that @fmichonneau documented this process somewhere but it's not that difficult so I can briefly describe it here:
cd /path/to/datacarpentry/lesson
git remote add styles-repo https://github.com/carpentries/styles.git
git config --local remote.styles-repo.tagOpt --no-tags
git fetch styles-repo
gh-pages
branch of the carpentries/styles repo into the gh-pages
branch of the lesson repo:
git merge -m "Sync style files with carpentries/styles" styles-repo/gh-pages
You might have to resolve Git conflicts here.
gh-pages
branch to the lesson repository:
git push https://github.com/datacarpentry/lesson gh-pages
IIRC, @fmichonneau does this in a separate branch and then submits a PR to merge that branch.
Thank you for taking care of this, @maxim-belkin.
@annajiat, regarding the documentation, we created the https://github.com/carpentries/maintainer-resources repository in 2020 to store the meeting minutes and any potentially useful resources for maintainers but were not so great at advertising it.
The process for updating to the latest styles is here:
https://github.com/carpentries/maintainer-resources/blob/main/FLIGHT_RULES.md#update-styles
FWIW, François and I both use the branch-and-PR flow for this so that it's easier to recover when things go sideways.
I apologise for not getting to the other issues you flagged me in... it's been a long week 😞
@zkamvar We need to update style for this lesson so that jump lists (anchors for different sections) becomes automatically available for different levels of headings.