MINOR Avoid failing CI because of missing doc paths
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@110414 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ed3edcfbb4
commit
a1b89523ce
|
@ -38,7 +38,10 @@ if(!$isRunningTest) {
|
|||
}
|
||||
|
||||
DocumentationService::set_automatic_registration(false);
|
||||
DocumentationService::register("cms", realpath("../src/github/master/cms/docs/"), '2.4');
|
||||
try{
|
||||
DocumentationService::register("cms", realpath("../src/github/master/cms/docs/"), '2.4');
|
||||
} catch(InvalidArgumentException $e) {} // Silence if path is not found (for CI environment)
|
||||
|
||||
|
||||
// We want this to be reviewed by the whole community
|
||||
BasicAuth::protect_entire_site(false);
|
||||
|
|
Loading…
Reference in New Issue