public function docs($dest = null)
    {
        if (!$dest) {
            $dest = __DIR__ . '/../peridot-php.github.io';
        }
        $src = __DIR__ . '/docs';
        $this->taskDeleteDir([
            $dest . '/docs',
            $src
        ])->run();
        $this->taskExec('apigen generate')->run();
        $this->taskCopyDir([
            $src => $dest . '/docs'
        ])->run();
        $this->taskDeleteDir([$src])->run();
    }