If, for example, we have barc.html and barc_files/ under docs/, then only barc.html is uploaded.
This is to GitHub and OSF (checked).
Need to also ensure that the same is not happening for other folders (e.g. that sub-folders in data-raw/ are also uploaded).
The issue is not actually with the send functions or with .file_ls - rather, only the directories are actually copied across to docs, and not the files themselves, and the uploads only upload files. So, wherever the docs are copied across to docs/, that's the problem.
barc.html
andbarc_files/
underdocs/
, then onlybarc.html
is uploaded.data-raw/
are also uploaded)..file_ls
- rather, only the directories are actually copied across todocs
, and not the files themselves, and the uploads only upload files. So, wherever the docs are copied across todocs/
, that's the problem.