src/DocumentationRepository.php
protected function prepareNotFound()
    {
        $this->title = 'Page not found';
        $this->content = view('larecipe::partials.404');
        $this->currentSection = '';
        $this->canonical = '';
        $this->statusCode = 404;

        return $this;
    }
protected function prepareNotFound()
    {
        $this->title = 'Page not found';
        $this->content = view('larecipe::partials.404');
        $this->currentSection = '';
        $this->canonical = '';
        $this->statusCode = 404;

        return $this;
    }
protected function prepareNotFound ( ) { $ this -> title = 'Page not found' ; $ this -> content = view ( 'larecipe::partials.404' ) ; $ this -> currentSection = '' ; $ this -> canonical = '' ; $ this -> statusCode = 404 ; return $ this ; }
If the docs content is empty then show 404 page.

@return $this
If the docs content is empty then show 404 page .