Skip to content

--clean switch #16

Closed
Closed

Description

@lovelydinosaur

Allow mkdocs build --clean, which should remove all files/dirs inside the build directory except any hidden files/dirs (eg preserve .git in case it's a gh-pages repo)

Only allow this to be specified from the command line, not the config, for safety reasons.

Activity

  1. hnk commented on Feb 6, 2014

    @hnk
    Contributor

    Should build --clean do a build after cleaning the dir? Or should it only actually clean?

    I have an implementation ready, just some tests to write.

  2. lovelydinosaur commented on Feb 6, 2014

    @lovelydinosaur
    CollaboratorAuthor

    It should perform a build, yes.

  3. d0ugal commented on Oct 21, 2014

    @d0ugal
    Contributor

    Fixed by #154

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions