Publii
Publii copied to clipboard
modified emptyOutputDir in a way that we can now avoid removing files…
modified emptyOutputDir in a way that we can now avoid removing files listed in the settings. This is especially helpful when we share same repository and have nested websites / systems. Normally Publii would delete whole content of the output DIR except media folder.
Hi, thank you for your pull request - I will analyze it, add improvements and then I will include it in the next Publii release :)
Does this solve #691 ? I would coin that as extremely urgent, as any new user can potentially be a victim of Publii (as per @superboum 's comment). Don't alienate users :o
@Adrien-Luxey - no it is not a solution, but I will address that issue in the upcoming v.0.38
Hi,
I have reanalysed this feature and I have discovered that it is not necessary as it duplicates the File Manager functionality.
This feature is dedicated to a case when user adds some files to the output
directory. Publii removes content of this directory on every sync. But in fact user should not add files to the output directory manually at all. Instead user should use File Manager and there put files to include in the final output.
In my opinion we should avoid such situations and promote a proper way of adding files.
If I am wrong - please correct me :) I just want to avoid adding of functionality which duplicates existing features to keep the Publii UI as simple as possible :)