diff --git a/.Rbuildignore b/.Rbuildignore index 03d6e43e..984ef072 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -35,3 +35,4 @@ inst/testdata/create_test_data.R ^LICENSE\.md$ ^CRAN-SUBMISSION$ ^updating-mocks\.md$ +^vignettes/articles$ diff --git a/_pkgdown.yml b/_pkgdown.yml index 10a6f5f8..c2defbf4 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -7,13 +7,22 @@ navbar: structure: left: [intro, glossary, reference, articles] right: [search, github] - components: - intro: - text: Get Started + left: + - icon: fa-home + href: index.html + - text: Get Started href: articles/REDCapTidieR.html - glossary: - text: Glossary + - text: Glossary href: articles/glossary.html + - text: Reference + href: reference/index.html + - text: Articles + menu: + - text: "Diving Deeper: Understanding REDCapTidieR Data Tibbles" + href: articles/diving_deeper.html + - text: "Exporting to Excel" + desc: "Convert Data Tibbles to XLSX Sheets" + href: articles/export_to_xlsx.html template: bootstrap: 5 diff --git a/vignettes/diving_deeper.Rmd b/vignettes/articles/diving_deeper.Rmd similarity index 99% rename from vignettes/diving_deeper.Rmd rename to vignettes/articles/diving_deeper.Rmd index 46bd3f73..127c690f 100644 --- a/vignettes/diving_deeper.Rmd +++ b/vignettes/articles/diving_deeper.Rmd @@ -1,10 +1,6 @@ --- title: "Diving Deeper: Understanding REDCapTidieR Data Tibbles" -output: rmarkdown::html_vignette -vignette: > - %\VignetteIndexEntry{Diving Deeper: Understanding REDCapTidieR Data Tibbles} - %\VignetteEngine{knitr::rmarkdown} - %\VignetteEncoding{UTF-8} +output: rmarkdown::html_document --- ```{r, include = FALSE} diff --git a/vignettes/export_to_xlsx.Rmd b/vignettes/articles/export_to_xlsx.Rmd similarity index 97% rename from vignettes/export_to_xlsx.Rmd rename to vignettes/articles/export_to_xlsx.Rmd index 0af58062..e7771049 100644 --- a/vignettes/export_to_xlsx.Rmd +++ b/vignettes/articles/export_to_xlsx.Rmd @@ -1,10 +1,6 @@ --- title: "Exporting to Excel" -output: rmarkdown::html_vignette -vignette: > - %\VignetteIndexEntry{Exporting to Excel} - %\VignetteEngine{knitr::rmarkdown} - %\VignetteEncoding{UTF-8} +output: rmarkdown::html_document --- ```{r, include = FALSE} diff --git a/vignettes/images/field-editor-ae-grade.png b/vignettes/articles/images/field-editor-ae-grade.png similarity index 100% rename from vignettes/images/field-editor-ae-grade.png rename to vignettes/articles/images/field-editor-ae-grade.png diff --git a/vignettes/images/field-editor-contributing-factors.png b/vignettes/articles/images/field-editor-contributing-factors.png similarity index 100% rename from vignettes/images/field-editor-contributing-factors.png rename to vignettes/articles/images/field-editor-contributing-factors.png diff --git a/vignettes/images/write_xlsx_default.png b/vignettes/articles/images/write_xlsx_default.png similarity index 100% rename from vignettes/images/write_xlsx_default.png rename to vignettes/articles/images/write_xlsx_default.png diff --git a/vignettes/images/write_xlsx_heroes_information.png b/vignettes/articles/images/write_xlsx_heroes_information.png similarity index 100% rename from vignettes/images/write_xlsx_heroes_information.png rename to vignettes/articles/images/write_xlsx_heroes_information.png diff --git a/vignettes/images/write_xlsx_metadata.png b/vignettes/articles/images/write_xlsx_metadata.png similarity index 100% rename from vignettes/images/write_xlsx_metadata.png rename to vignettes/articles/images/write_xlsx_metadata.png diff --git a/vignettes/images/write_xlsx_supertbl_labelled.png b/vignettes/articles/images/write_xlsx_supertbl_labelled.png similarity index 100% rename from vignettes/images/write_xlsx_supertbl_labelled.png rename to vignettes/articles/images/write_xlsx_supertbl_labelled.png