Update image links in documentation

This commit is contained in:
Frédéric Guillot
2017-11-27 15:10:38 -08:00
parent 1db9bc1b2e
commit 436673247f
175 changed files with 372 additions and 371 deletions

View File

@@ -44,6 +44,7 @@ class DocumentationController extends BaseController
$data = file_get_contents($filename);
$content = preg_replace_callback('/\((.*.markdown)\)/', array($this, 'replaceMarkdownUrl'), $data);
$content = preg_replace_callback('/\((screenshots.*\.png)\)/', array($this, 'replaceImageUrl'), $content);
$content = preg_replace_callback('/\((\.\.\/screenshots.*\.png)\)/', array($this, 'replaceImageUrl'), $content);
list($title, ) = explode("\n", $data, 2);