R --version
)git --version
quarto --version
)
git config --list
git config --global user.name "Vorname Nachname"
git config --global user.email "kuerzel@zhaw.ch"
# user.email muss gleich sein wie auf Github
# im repo:
git config user.name "Vorname Nachname"
git config user.email "kuerzel@zhaw.ch"
https
und ssh
https
, dafür braucht es einen PATusethis
zur hilfe nehmen:
usethis::create_github_token()
gitcreds::gitcreds_set()
git pull # button "Pull"
git add # häckchen setzen
git commit -m "my commit message" # button "Commit"
git push # button "Push"
project:
type: book
preview:
port: 5678
execute-dir: project
format:
html:
theme:
dark: darkly
light: flatly
bibliography: bibliography.bib
number-sections: false
code-tools: true
execute:
freeze: true
error: true
book:
title: "Research Methods HS22"
repo-url: https://github.com/ResearchMethods-ZHAW/HS22/
repo-actions: [edit]
downloads: [pdf]
sidebar:
logo: images/zhaw_sw_neg.png
collapse-level: 1
style: docked
chapters:
- index.qmd
- part: PrePro.qmd
chapters:
- prepro/Prepro1_Demo.qmd
- prepro/Prepro1_Uebung.qmd
- --
- prepro/Prepro2_Demo.qmd
- prepro/Prepro2_Uebung_A.qmd
- prepro/Prepro2_Uebung_B.qmd
- --
- prepro/Prepro3_Demo.qmd
- prepro/Prepro3_Uebung.qmd
- --
execute-dir: project
here
obsolote?knitr::include_graphics()
project:
type: book
book
Struktur (nicht mehr blog
).gitignore
data/
freeze: true
# render single document (always executes code)
quarto render document.qmd
# render project subdirectory (always executes code)
quarto render articles
error: true