MINOR Enabled documentation master for sapphire, rather than 2.4 (to avoid merging for now)
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@116228 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
a0eab442a3
commit
6c42da090d
|
@ -41,9 +41,9 @@ DocumentationService::set_automatic_registration(false);
|
|||
DocumentationSearch::enable();
|
||||
|
||||
try{
|
||||
DocumentationService::register("sapphire", BASE_PATH ."/src/sapphire_2.4/docs/", '2.4');
|
||||
// DocumentationService::register("sapphire", BASE_PATH ."/src/sapphire_2.3/docs/", '2.3');
|
||||
// DocumentationService::register("sapphire", BASE_PATH ."/src/sapphire_master/docs/", 'master');
|
||||
//DocumentationService::register("sapphire", BASE_PATH ."/src/sapphire_2.4/docs/", '2.4');
|
||||
//DocumentationService::register("sapphire", BASE_PATH ."/src/sapphire_2.3/docs/", '2.3');
|
||||
DocumentationService::register("sapphire", BASE_PATH ."/src/sapphire_master/docs/", 'master');
|
||||
} catch(InvalidArgumentException $e) {
|
||||
} // Silence if path is not found (for CI environment)
|
||||
|
||||
|
@ -56,4 +56,4 @@ if(Director::isLive()) {
|
|||
DocumentationViewerExtension::$google_analytics_code = 'UA-84547-8';
|
||||
}
|
||||
|
||||
Validator::set_javascript_validation_handler('none');
|
||||
Validator::set_javascript_validation_handler('none');
|
||||
|
|
Loading…
Reference in New Issue