silverstripe-docsviewer/_config.php
Stephen Shkardoon ab3e3f392a Fix RebuildLuceneDocsIndex to use new Markdown parser
Previously, it was attempting to use the already removed Markdown class.
Also some minor permission / indentation fixes.
2014-11-11 20:44:50 +13:00

24 lines
580 B
PHP

<?php
/**
* Documentation Configuration
*
* Please override any of these options in your own projects _config.php file.
* For more information and documentation see docsviewer/docs/en
*/
if(!defined('DOCSVIEWER_PATH')) {
define('DOCSVIEWER_PATH', dirname(__FILE__));
}
if(!defined('DOCSVIEWER_DIR')) {
$dir = explode(DIRECTORY_SEPARATOR, DOCSVIEWER_PATH);
define('DOCSVIEWER_DIR', array_pop($dir));
}
// define filetypes to ignore
DocumentationService::set_ignored_files(array(
'.', '..', '.DS_Store',
'.svn', '.git', 'assets', 'themes', '_images', '_resources'
));