-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b78ec5e
commit 25b32c1
Showing
3 changed files
with
12 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ Imports: | |
stats19, | ||
nycflights13, | ||
remotes, | ||
spDataLarge | ||
spDataLarge, | ||
DT | ||
Remotes: | ||
nowosad/spDataLarge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,13 @@ | ||
|
||
|
||
# Quarto course website template | ||
This repo contain code for the Transport Data Science module at the | ||
Institute for Transport Studies, University of Leeds. | ||
|
||
A template for course websites developed with | ||
[Quarto](https://quarto.org) and hosted on GitHub. | ||
To set it up we used commands such as: | ||
|
||
This is all configured so you only need to edit the source files in | ||
Quarto (.qmd). The website is generated and hosted automatically by | ||
GitHub. | ||
|
||
Example website: | ||
https://pakillo.github.io/quarto-course-website-template (see also | ||
https://github.com/rstudio-conf-2022/teach-ds-course-website for a more | ||
developed example). | ||
|
||
## Using this template | ||
|
||
1. Click on green button “Use this template” -\> “Create a new | ||
repository” | ||
|
||
2. Choose a name for your repository | ||
|
||
3. Important: check ‘Include all branches’ when creating the repository | ||
(because we will need the `gh-pages` branch to host the website). | ||
|
||
4. Once your repo is created, remember to update the links to your | ||
GitHub repo in [\_quarto.yml](_quarto.yml), replacing ‘Pakillo’ with | ||
your GitHub username. | ||
|
||
To create an empty branch and take a look at the [Quarto | ||
documentation](https://quarto.org/docs/publishing/github-pages.html): | ||
|
||
``` bash | ||
git checkout --orphan gh-pages | ||
git reset --hard # make sure all changes are committed before running this! | ||
git commit --allow-empty -m "Initialising gh-pages branch" | ||
git push origin gh-pages | ||
``` r | ||
usethis::use_description() | ||
usethis::use_package("stats19") | ||
usethis::use_package("DT") | ||
usethis::use_package("quarto") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters