Skip to content

Commit a4982a9

Browse files
committed
add/update generic package information
1 parent 17ea0ac commit a4982a9

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# flandersqmd 0.0.4
2+
3+
* Add `create_website()`.
4+
15
# flandersqmd 0.0.3
26

37
* Create Docker for rendering the examples.

README.Rmd

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,20 @@ add_cover(
114114
quarto::quarto_render(file.path(path, "flandersqmd-book", "myreport"))
115115
```
116116

117+
### Working on a quarto website
118+
119+
A quarto website with the corporate identity of the Flemish government can be generated using the same method as described above,
120+
except that the skeleton should be generated using function `create_website()` instead of `create_report()`.
121+
122+
```{r prepare-skeleton-website, eval = FALSE}
123+
# Create a report skeleton
124+
library(flandersqmd)
125+
create_website(file.path(path, "flandersqmd-website"), websitename = "mywebsite")
126+
```
127+
128+
An example website is presented on [https://inbo.github.io/flandersqmd-website/](https://inbo.github.io/flandersqmd-website/)
129+
and it's code on [https://github.com/inbo/flandersqmd-website](https://github.com/inbo/flandersqmd-website).
130+
117131
## Workshop
118132

119133
This package contains the slides of a workshop.

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,23 @@ add_cover(
118118
quarto::quarto_render(file.path(path, "flandersqmd-book", "myreport"))
119119
```
120120

121+
### Working on a quarto website
122+
123+
A quarto website with the corporate identity of the Flemish government
124+
can be generated using the same method as described above, except that
125+
the skeleton should be generated using function `create_website()`
126+
instead of `create_report()`.
127+
128+
``` r
129+
# Create a report skeleton
130+
library(flandersqmd)
131+
create_website(file.path(path, "flandersqmd-website"), websitename = "mywebsite")
132+
```
133+
134+
An example website is presented on
135+
<https://inbo.github.io/flandersqmd-website/> and it’s code on
136+
<https://github.com/inbo/flandersqmd-website>.
137+
121138
## Workshop
122139

123140
This package contains the slides of a workshop. Run the code below to

0 commit comments

Comments
 (0)