This repository is a template, intended as a convenience to take some manual work out of setting the style for Quarto books used by SIPBS Computational Biology.
This version of the template includes:
- a GitHub Action (
.github/workflows/publish.yml
) that should update the GitHub Pages version of the book on each push to themain
branch. - an example WebR page
- Click on the
Use This Template
button to create a new repository/project based on this template - Clone or download the project to your local development environment
- Open the project folder and modify
_variables.yml
to change:
[A]
academic year[B]
administrator name and contact information[C]
GitHub URLs for the repository
- Modify
_quarto.yml
to change:
[A]
book title[B]
footer text[C]
GitHub repository URL[D]
author name and publication/presentation date[E]
chapters and sections
- Modify
DESCRIPTION
to change:
[A]
package name and book title[B]
author names and emails[C]
repository URL[D]
required R packages[E]
licensing information
- Change or update the licence, if required
- Add the
quarto-webr
extension (if necessary) using the commandquarto add coatless/quarto-webr
- Generate the book by issuing
quarto render
in the terminal, or using theRender
button inRStudio
- Commit your updates in the local development environment
- Publish your book to GitHub Pages by issuing
quarto publish gh-pages
in the terminal - When the pages have built on GitHub Pages, click on the
About
settings (the cog icon) to modify the page description and selectUse your GitHub Pages website
, to have the GitHub Pages site linked from the repository
- Make changes to the
.qmd
files, updating chapter information in_quarto.yml
andR
package information inDESCRIPTION
, as needed for your material - Commit your changes locally to the git repository
- Push your changes to the GitHub repository