mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 09:05:56 +00:00
Add _resources to the list of files to be ignored
using DocumentationService::set_ignored_files() in _config
This commit is contained in:
parent
581062b412
commit
6411d86c09
@ -22,3 +22,9 @@ if(!defined('DOCSVIEWER_DIR')) {
|
|||||||
Director::addRules(100, array(
|
Director::addRules(100, array(
|
||||||
'dev/docs' => 'DocumentationViewer'
|
'dev/docs' => 'DocumentationViewer'
|
||||||
));
|
));
|
||||||
|
|
||||||
|
// define filetypes to ignore
|
||||||
|
DocumentationService::set_ignored_files(array(
|
||||||
|
'.', '..', '.DS_Store',
|
||||||
|
'.svn', '.git', 'assets', 'themes', '_images', '_resources'
|
||||||
|
));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user