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

Publish directory retains old files on publish #3

Description

@excalamus

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions