Skip to content

Commit 606c5fc

Browse files
committed
done distilled
1 parent 801ab54 commit 606c5fc

25 files changed

+19
-587
lines changed

_030_thematic_sf.Rmd

Lines changed: 0 additions & 39 deletions
This file was deleted.

_033_thematic_leaflet_example.Rmd

Lines changed: 0 additions & 41 deletions
This file was deleted.

_CopyOfindex.Rmd.bak

Lines changed: 0 additions & 61 deletions
This file was deleted.
Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +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. Hosted by Netlify.com
14-
15-
1. After committing and pushing to github
16-
1. Login as the owner of the GitHub repo
17-
1. Separate tab, login to Netlify.com
18-
1. Associate Netlify New Site deploy with the GitHub Repo
19-
1. Associate Netlify to the `docs` subdir of the gitHub repo
20-
1. Now each GitHub commit will result in a new deploy on Netlify.
21-
1. You May want to check how the domains are handled on Netlify. And, you may want to check how redirects are handled, e.g. netlify.toml
22-
23-
24-
**UPDATE-OLD No Longer in effect**, but keeping around b/c the code might be useful to me again some day. This script using `library(fs)` that creates a link from ~/blogdown/static/map to the "docs" directory. This script uses `library(here)` and `library(usethis)` to create a sym-link from one repo to another on my local file system. But this is clunky and so I've moved to the above, step 3 above. (`_ZZ_move_HTML-docs_to_blog-dir.Rmd`)
10+
3. Serve web pages via Netlify.com
2511

26-
- e.g. github repo served by Netlify
27-
- in this case: rfun (blogdown-rfun2 on github)
28-
- 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

_site.yml.old

Lines changed: 0 additions & 62 deletions
This file was deleted.

docs/01_georeference.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)