Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Publish directory retains old files on publish #3

Open
excalamus opened this issue Oct 1, 2020 · 0 comments
Open

Publish directory retains old files on publish #3

excalamus opened this issue Oct 1, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@excalamus
Copy link
Owner

The publish directory can contain files not generated by the most recent publish. This happens when source files are removed between publishes or when html files are manually added. These files will be accessible unless the server has specific rules to exclude them. This may be undesirable behavior.

Thoughts:

  • Include in peut-publier options for clearing the publish directory before generation; to delete, whether to ask to delete, to compare generated files versus those in the directory, etc.
  • Require users to create the option, either through modifying the library or their server. Document the former as an example of how to extend peut-publier.
@excalamus excalamus added the enhancement New feature or request label Sep 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant