src/DocumentationRepository.php
protected function prepareSection($version, $page)
    {
        if ($this->documentation->sectionExists($version, $page)) {
            $this->currentSection = '/'.$page;
        }

        return $this;
    }
protected function prepareSection($version, $page)
    {
        if ($this->documentation->sectionExists($version, $page)) {
            $this->currentSection = '/'.$page;
        }

        return $this;
    }
protected function prepareSection ( $ version , $ page ) { if ( $ this -> documentation -> sectionExists ( $ version , $ page ) ) { $ this -> currentSection = '/' . $ page ; } return $ this ; }
Prepare the current section page.

@param $version
@param $page
@return $this
Prepare the current section page .