CrumpLab / vertical

R workflow for sharing psychological research
https://crumplab.github.io/vertical/
Other
35 stars 2 forks source link

experiment not found on website #34

Closed mvuorre closed 4 years ago

mvuorre commented 4 years ago

I created a new project, chose not to include an experiment (default). Website still includes a link to experiment that is not found.

CrumpLab commented 4 years ago

Ya, that's currently hardcoded to the default _pkgdown.yml. I'll propose:

  1. delete this from the hardcoded default, as a part of simplifying for #36
  2. make a change to update_yml() to recognize experiments folder and add an experiments component if the folder is there
mvuorre commented 4 years ago

Sounds perfect

CrumpLab commented 4 years ago

I have a working fix. The yml for experiment now gets added if there is an experiments folder. If there happen to be Rmds in the folder or a subfolder (as might happen in a jspsychr experiment), links to those get added as well. However, I don't have it set up to add the link to the experiment.html file, this would have to be added by hand.

I'm going to close this issue, and open another that's related to the experiments folder