mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 15:05:50 +00:00
MINOR Consistently using 'framework' term and folder
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@122667 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
be20ccd7e3
commit
0a0b792208
12
Makefile
12
Makefile
@ -5,14 +5,14 @@ update:
|
||||
# framework master
|
||||
if [ -d $(CURDIR)/src/framework_master ]; then cd $(CURDIR)/src/framework_master; git pull -q; else git clone -q git://github.com/silverstripe/sapphire.git $(CURDIR)/src/framework_master; fi
|
||||
|
||||
# sapphire 3.0
|
||||
if [ -d $(CURDIR)/src/sapphire_3.0 ]; then cd $(CURDIR)/src/sapphire_3.0; git pull -q; else git clone -q --branch 3.0 git://github.com/silverstripe/sapphire.git $(CURDIR)/src/sapphire_3.0; fi
|
||||
# framework 3.0
|
||||
if [ -d $(CURDIR)/src/framework_3.0 ]; then cd $(CURDIR)/src/framework_3.0; git pull -q; else git clone -q --branch 3.0 git://github.com/silverstripe/sapphire.git $(CURDIR)/src/framework_3.0; fi
|
||||
|
||||
# sapphire 2.4
|
||||
if [ -d $(CURDIR)/src/sapphire_2.4 ]; then cd $(CURDIR)/src/sapphire_2.4; git pull -q; else git clone -q --branch 2.4 git://github.com/silverstripe/sapphire.git $(CURDIR)/src/sapphire_2.4; fi
|
||||
# framework 2.4
|
||||
if [ -d $(CURDIR)/src/framework_2.4 ]; then cd $(CURDIR)/src/framework_2.4; git pull -q; else git clone -q --branch 2.4 git://github.com/silverstripe/sapphire.git $(CURDIR)/src/framework_2.4; fi
|
||||
|
||||
# sapphire 2.3
|
||||
if [ -d $(CURDIR)/src/sapphire_2.3 ]; then cd $(CURDIR)/src/sapphire_2.3; git pull -q; else git clone -q --branch 2.3 git://github.com/silverstripe/sapphire.git $(CURDIR)/src/sapphire_2.3; fi
|
||||
# framework 2.3
|
||||
if [ -d $(CURDIR)/src/framework_2.3 ]; then cd $(CURDIR)/src/framework_2.3; git pull -q; else git clone -q --branch 2.3 git://github.com/silverstripe/sapphire.git $(CURDIR)/src/framework_2.3; fi
|
||||
|
||||
# build index
|
||||
cd $(CURDIR); php sapphire/cli-script.php dev/tasks/RebuildLuceneDocsIndex flush=1
|
||||
|
@ -47,9 +47,9 @@ DocumentationSearch::enable();
|
||||
|
||||
try{
|
||||
DocumentationService::register("framework", BASE_PATH ."/src/framework_master/docs/", 'trunk');
|
||||
DocumentationService::register("sapphire", BASE_PATH ."/src/sapphire_3.0/docs/", '3.0');
|
||||
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("framework", BASE_PATH ."/src/framework_3.0/docs/", '3.0');
|
||||
DocumentationService::register("framework", BASE_PATH ."/src/framework_2.4/docs/", '2.4');
|
||||
DocumentationService::register("framework", BASE_PATH ."/src/framework_2.3/docs/", '2.3');
|
||||
} catch(InvalidArgumentException $e) {
|
||||
} // Silence if path is not found (for CI environment)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user