From 6411d86c098404c731f6d6a6c0c780fde689d533 Mon Sep 17 00:00:00 2001 From: martimiz Date: Thu, 8 Nov 2012 17:26:17 +0100 Subject: [PATCH] Add _resources to the list of files to be ignored using DocumentationService::set_ignored_files() in _config --- _config.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/_config.php b/_config.php index 75e153d..4dbb000 100755 --- a/_config.php +++ b/_config.php @@ -21,4 +21,10 @@ if(!defined('DOCSVIEWER_DIR')) { // define your own rule in your mysite/_config.php Director::addRules(100, array( 'dev/docs' => 'DocumentationViewer' -)); \ No newline at end of file +)); + +// define filetypes to ignore +DocumentationService::set_ignored_files(array( + '.', '..', '.DS_Store', + '.svn', '.git', 'assets', 'themes', '_images', '_resources' +));