src/Models/Documentation.php
public static function replaceLinks($version, $content)
    {
        $content = str_replace('{{version}}', $version, $content);

        $content = str_replace('{{route}}', trim(config('larecipe.docs.route'), '/'), $content);

        return $content;
    }
public static function replaceLinks($version, $content)
    {
        $content = str_replace('{{version}}', $version, $content);

        $content = str_replace('{{route}}', trim(config('larecipe.docs.route'), '/'), $content);

        return $content;
    }
public static function replaceLinks ( $ version , $ content ) { $ content = str_replace ( '{{version}}' , $ version , $ content ) ; $ content = str_replace ( '{{route}}' , trim ( config ( 'larecipe.docs.route' ) , '/' ) , $ content ) ; return $ content ; }
Replace the version and route placeholders.

@param  string  $version
@param  string  $content
@return string
Replace the version and route placeholders .