quarto render
Usage:
quarto preview
to serve the site in Quarto's local webserver_quarto.yml
file and Github Actions workflow for more detailsFor best results, clone into a new directory. However, if you are unable to do that, Delete the following directories as they will conflict and prevent Quarto from building:
- themes/ # contains docys shortcodes
- archetypes/ # contains docsy shortcodes
- layouts/ # contains Markup for docsy templating
- data/ # is empty and no longer required
- docs/ # holds the content in a format that works for Hugo (and not Quarto).
- content/ # holds the content in a format that works for Hugo (and not Quarto).
The repo is configured to publish:
develop
: to GitHub Pages site https://special-umbrella-26f3274a.pages.github.io/staging
: to staging site https://staging.game.autonity.org
Bitwarden >> Autonity-org >> PCGC >> staging.game.autonity.org
master
: to production site https://game.autonity.orgmaster
branch will always have the live production version of the website.master
with the hot-fix, and creating a PR. (Once the hot-fix has been merged, master
should be merged to develop
to ensure that the fix is propagated, and that conflicts are resolved in develop
.)develop
branch will always have the WIP next version of the website being prepared.develop
into master
.See the repo Wiki Page Git Workflow for when to merge
or rebase
branches when working on game.autonity.org
repo.
For overall site structure, see Autonity Sitemap
To contribute to this repo, please raise a pull request as per Github Flow.
Note that in order to maintain a legible Git history, this repo enforces linear history on master
. To ensure that your local Git commit log is linear, you should rebase your local changes on top of origin
. You can tell Git to do this for this repository by setting the Git option pull.rebase
in your local checkout:
git config --local pull.rebase true
Alternatively, you can apply this setting for all your repos by replacing --local
with --global
.
Reference: Pro Git by Scott Chacon