mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 09:05:56 +00:00
MINOR Moved markdown.php into thirdparty/markdown/
This commit is contained in:
parent
b7478b864d
commit
4abf31e8d0
@ -42,7 +42,7 @@ class DocumentationParser {
|
|||||||
$md = self::rewrite_heading_anchors($md, $page);
|
$md = self::rewrite_heading_anchors($md, $page);
|
||||||
// $md = self::rewrite_code_blocks($md, $page);
|
// $md = self::rewrite_code_blocks($md, $page);
|
||||||
|
|
||||||
require_once('../sapphiredocs/thirdparty/markdown.php');
|
require_once('../sapphiredocs/thirdparty/markdown/markdown.php');
|
||||||
$html = Markdown($md);
|
$html = Markdown($md);
|
||||||
|
|
||||||
return $html;
|
return $html;
|
||||||
|
@ -14,7 +14,7 @@ class RebuildLuceneDocsIndex extends BuildTask {
|
|||||||
* based on the user. It's a
|
* based on the user. It's a
|
||||||
*/
|
*/
|
||||||
function run($request) {
|
function run($request) {
|
||||||
require_once('../sapphiredocs/thirdparty/markdown.php');
|
require_once('../sapphiredocs/thirdparty/markdown/markdown.php');
|
||||||
ini_set("memory_limit", -1);
|
ini_set("memory_limit", -1);
|
||||||
ini_set('max_execution_time', 0);
|
ini_set('max_execution_time', 0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user