def clean(ctx):
    """ Clean built docs.
    """

    clean_command = f"make clean"
    with ctx.cd(ctx.docs.directory.as_posix()):
        report.info(ctx, "docs.clean", "cleaning documentation artifacts")
        ctx.run(clean_command)
def clean ( ctx ) : clean_command = f"make clean" with ctx . cd ( ctx . docs . directory . as_posix ( ) ) : report . info ( ctx , "docs.clean" , "cleaning documentation artifacts" ) ctx . run ( clean_command )
Clean built docs.