Repository for the website for ACEFA - the Australian Consortium for Epidemic Forecasting & Analytics.
This github pages website is built with quarto. It is configured so that it publishes the website via the gh-pages
branch (see publishing quarto websites for more detail).
This branch should never be modified manually.
- Fork this repo into personal GitHub account > you must untick the option to "Copy main branch only" as you need both branches.
- Navigate to your fork
github.com/[YOURUSERNAME]/acefa-hubs.github.io
and clone a local version to your machine - Open new project from version control in local RStudio
- Configure your remote repository:
- list remotes
git remote -v
> origin git@github.com:[YOURUSERNAME]/acefa-hubs.github.io.git (fetch)
> origin git@github.com:[YOURUSERNAME]/acefa-hubs.github.io.git (push)
- add upstream
git remote add upstream git@github.com:acefa-hubs/acefa-hubs.github.io.git
- verify upstream has been added by checking remotes again
git remote -v
> origin git@github.com:[YOURUSERNAME]/acefa-hubs.github.io.git (fetch)
> origin git@github.com:[YOURUSERNAME]/acefa-hubs.github.io.git (push)
> upstream git@github.com:acefa-hubs/acefa-hubs.github.io.git (fetch)
> upstream git@github.com:acefa-hubs/acefa-hubs.github.io.git (push)
-
Before beginning new work, make sure your fork is up to date with the remote:
# fetch from upstream repo git fetch upstream main # then merge git merge upstream/main
-
Make your changes. The key files to modify for content will all be
.qmd
(quarto) files:
index.qmd
is the file for the main landing pageabout.qmd
is the file for the "Team" tabpillars/
folder containsdecision-support.qmd
,methods-and-tools.qmd
,data.qmd
, andengagement.qmd
, the main roles of the consortium._quarto.yml
contains higher level organisation for the website.css
and.scss
files contain style codeimages/
folder stores all images used as thumbnails or as figures
Remember to preview your changes with the 'Render' button, or with quarto render
in the terminal.
-
When you're happy with the changes, commit and push to origin all changes.
-
Create pull request on GitHub. Once a pull request is merged, the website will be republished automatically using a Github Action that has been configured in the main repository.