laravel/laravel.com — comment on commit f4a58a3fbbdbb8754565058c5e408d20023da678
File: application/libraries/docs.php line 89
By mnishihan:

Based on my other comment in Docs controller changes, adding the code below will be a good decision IMHO.

if ($_SERVER['LARAVEL_ENV'] == 'local')
{
$content = str_replace('/docs', URL::to().'docs', $content);
}

With the above code, it will ensure that any link into the content section will also be translated.