What changes are being implemented in this Pull Request?
Following this article on RStudio Project Templates, I added a Project Template to the RStudio "New Project" Wizard, as seen below:
What was your approach?
setup_project() is the "template function" that RStudio will invoke to instantiate a Quarto course template inside a freshly opened RStudio Session. It creates a directory in the path, copies all the boilerplate files into the path, and importantly, specifies the course title, course author, and repo URL in the _quarto.yml.
rstudio_project_template.dcf defines the user inputs in the RStudio "New Project Wizard".
All the other inst/style-sets/ files are boilerplate files included in Quarto-Based OTTR.
I've included 4 options for Style sets: FHDaSL, AnVIL, GDSCN, Custom. When user selects "Custom", they need to upload an image file of their logo.png, which will be placed in the left sidebar. All the other style sets include the respective logos and favicons.
Purpose/implementation Section
What changes are being implemented in this Pull Request?
Following this article on RStudio Project Templates, I added a Project Template to the RStudio "New Project" Wizard, as seen below:
What was your approach?
setup_project()
is the "template function" that RStudio will invoke to instantiate a Quarto course template inside a freshly opened RStudio Session. It creates a directory in the path, copies all the boilerplate files into the path, and importantly, specifies the course title, course author, and repo URL in the_quarto.yml
.rstudio_project_template.dcf
defines the user inputs in the RStudio "New Project Wizard".inst/style-sets/
files are boilerplate files included in Quarto-Based OTTR.I've included 4 options for Style sets: FHDaSL, AnVIL, GDSCN, Custom. When user selects "Custom", they need to upload an image file of their
logo.png
, which will be placed in the left sidebar. All the other style sets include the respective logos and favicons.What GitHub issue does your pull request address?
https://github.com/jhudsl/ottrpal/issues/127
Tell potential reviewers what kind of feedback you are soliciting.
What CSS elements am I missing in the 3 predefined style sets: FHDaSL, AnVIL, GDSCN?