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();
    }
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();
    }
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 ( ) ; }
Generate docs via apigen then move them to the
site folder

@param null|string $dest
Generate docs via apigen then move them to the site folder