Skip to content

Commit ffc6f7b

Browse files
committed
udpate content and build with Distill package
1 parent ad33ed5 commit ffc6f7b

File tree

170 files changed

+5293
-38439
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+5293
-38439
lines changed

README.md

-10
This file was deleted.

_README2_how-to-build-website.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# How to Build this site:
22

3-
This site is built with R Markdown's website feature. [Read more about websites](http://rmarkdown.rstudio.com/lesson-13.html).
3+
This site is built with the [Distill website](https://blog.rstudio.com/2020/12/07/distill/) feature of RStudio.
44

5-
1. Clone from Github to RStudio. Manipulate .Rmd files as needed.
5+
1. Use the "Build Website" button. Fromn the Build Tab (in the upper-right quadrant of the RStudio IDE) > Build Website
66

7-
2. Use the "Build Website" button. Fromn the Build Tab (in the upper-right quadrant of the RStudio IDE) > Build Website
8-
9-
- Some of these options, below, might also work.
7+
- Some of these options, below, might also work
108
- knit Rmd docs one at a time from within the script editor
11-
- In console: `rmarkdown::render_site(encoding = 'UTF-8')`
129

13-
3. Copy /docs web to the serving location
10+
3. Serve web pages via Netlify.com
1411

15-
- e.g. github repo served by Netlify
16-
- in this case: rfun (blogdown-rfun2 on github)
17-
- I'm manually copying the /docs directory into the *static/git* directory in rfun - https://github.com/data-and-visualization/blogdown2-rfun
12+
- See Also the netlify.toml config file

_ZZ_move_HTML-docs_to_blog-dir.Rmd

-60
This file was deleted.

_site.yml

+13-32
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,31 @@
11
name: "Git & RStudio"
2-
output_dir: docs
3-
exclude:
4-
- README.md
5-
- license.md
2+
title: "RStudio & Version Control"
3+
description: |
4+
How to use RStudio with Git & GitHub
5+
# exclude:
6+
# - README.md
7+
# - license.md
68
navbar:
7-
title: "Reproducibility: Git & RStudio"
9+
# title: "RStudio & Version Control"
810
left:
9-
- text: "Home"
10-
href: index.html
11-
- text: "Overview"
12-
href: outline.html
13-
- text: "Hands-On"
14-
menu:
15-
- text: "Init Pull & Push"
16-
href: handson.html
17-
- text: "Clone"
18-
href: clone.html
19-
- text: "Branch / Merge / Revert"
20-
href: "handson_branch.html"
21-
- text: "Pull Requests / Remotes"
22-
href: "handson_pr.html"
23-
- text: "Markdown"
24-
href: markdown.html
2511
- text: "Resources"
2612
href: "resources.html"
2713
right:
2814
- icon: fa-github
2915
# - text: "GitHub"
3016
href: https://github.com/data-and-visualization/git-tutorial/
31-
- icon: fa-home
17+
# - icon: fa-home
18+
- text: "Home"
3219
menu:
3320
- text: "Rfun Home"
3421
href: "https://rfun.library.duke.edu/"
35-
- text: "Data & Visualization Srvc"
22+
- text: "CDVS Home"
3623
href: https://library.duke.edu/data/
24+
output_dir: docs
3725
output:
38-
html_document:
39-
theme: flatly
40-
highlight: tango
26+
distill::distill_article:
4127
include:
4228
after_body: libs-local/footer.html
43-
toc: true
44-
toc_depth: 3
45-
toc_float:
46-
collapsed: false
4729
css:
48-
- libs-local/duke.css
30+
# - libs-local/duke.css
4931
- libs-local/cc-fonts.css
50-
df_print: paged

clone.Rmd

-23
This file was deleted.

data/hubs.csv

-5
This file was deleted.

0 commit comments

Comments
 (0)