Add _resources to the list of files to be ignored

using DocumentationService::set_ignored_files() in _config
This commit is contained in:
martimiz 2012-11-08 17:26:17 +01:00 committed by Will Rossiter
parent 581062b412
commit 6411d86c09
1 changed files with 7 additions and 1 deletions

View File

@ -21,4 +21,10 @@ if(!defined('DOCSVIEWER_DIR')) {
// define your own rule in your mysite/_config.php
Director::addRules(100, array(
'dev/docs' => 'DocumentationViewer'
));
));
// define filetypes to ignore
DocumentationService::set_ignored_files(array(
'.', '..', '.DS_Store',
'.svn', '.git', 'assets', 'themes', '_images', '_resources'
));