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
@ -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'
|
||||
));
|
||||
|
Loading…
x
Reference in New Issue
Block a user