-
Notifications
You must be signed in to change notification settings - Fork 240
Description
I 100% understand why you wouldn't want to expose the entire working directory to the shiny app that learnr builds, but I wish it were possible to have a bit more flexibility in specifying which directories, precisely, should be included. It would be nice to be able to specify something like, say, img/
as the images folder for consistency with the rest of the codebase I'm working on and the sake of not having to duplicate files & images.
To me, it seems like there could be an option in the YAML header to provide a list of folders that should be accessible to/included in the output, and this would also allow somebody to stop files from being exposed from any unfortunately-named existing directories if they needed to. Are the 4 specific directory names a learnr constraint or a shiny constraint?
(Sorry if you first saw this as a comment on a closed issue--I'm new to learnr but, poking around, it seems like there are several other people putting learnr tutorials inside of existing codebases that are asking questions like this, so I figured I should open an issue.)