File tree 3 files changed +28
-20
lines changed
3 files changed +28
-20
lines changed Original file line number Diff line number Diff line change 1
1
/vendor
2
- /resources /docs
3
- /public /api
4
- /public /assets /css
5
- /public /assets /js /*
6
- ! /public /assets /js /viewport-units-buggyfill.js
7
- /public /build
2
+ # /resources/docs
3
+ # /public/api
4
+ # /public/assets/css
5
+ # /public/assets/js/*
6
+ # !/public/assets/js/viewport-units-buggyfill.js
7
+ # /public/build
8
8
/public /page-cache
9
9
/public /storage
10
+ # /build
10
11
/build /sami /build
11
12
/build /sami /cache
12
13
/build /sami /laravel
13
14
/build /sami /vendor
14
15
/node_modules
15
16
composer.phar
16
- .env. *
17
+ # .env.*
17
18
.env
18
19
.DS_Store
19
20
Thumbs.db
20
21
/.idea
21
- package-lock.json
22
+ /.vscode
23
+ package-lock.json
24
+ # yarn.lock
Original file line number Diff line number Diff line change 2
2
base=/home/mat/matscode/laravel.com
3
3
docs=${base} /resources/docs
4
4
5
- cd ${docs} /4.2 && git pull alt 4.2
6
- cd ${docs} /5.0 && git pull alt 5.0
7
- cd ${docs} /5.1 && git pull alt 5.1
8
- cd ${docs} /5.2 && git pull alt 5.2
9
- cd ${docs} /5.3 && git pull alt 5.3
10
- cd ${docs} /5.4 && git pull alt 5.4
11
- cd ${docs} /5.5 && git pull alt 5.5
12
- cd ${docs} /5.6 && git pull alt 5.6
13
- cd ${docs} /master && git pull alt master
5
+ cd ${docs} /4.2 && git pull origin 4.2
6
+ cd ${docs} /5.0 && git pull origin 5.0
7
+ cd ${docs} /5.1 && git pull origin 5.1
8
+ cd ${docs} /5.2 && git pull origin 5.2
9
+ cd ${docs} /5.3 && git pull origin 5.3
10
+ cd ${docs} /5.4 && git pull origin 5.4
11
+ cd ${docs} /5.5 && git pull origin 5.5
12
+ cd ${docs} /5.6 && git pull origin 5.6
13
+ cd ${docs} /master && git pull origin master
14
14
15
15
cd $base && php artisan docs:clear-cache
Original file line number Diff line number Diff line change 4
4
* Set the default documentation version...
5
5
*/
6
6
if (! defined ('DEFAULT_VERSION ' )) {
7
- define ('DEFAULT_VERSION ' , '5.6 ' );
7
+ define ('DEFAULT_VERSION ' , '5.5 ' );
8
8
}
9
9
10
- Route::get ('/ ' , function () {
11
- return view ('marketing ' );
10
+ Route::get ('/ ' , function ($ version = DEFAULT_VERSION ) {
11
+ // return view('marketing');
12
+ return redirect ("/docs/ {$ version }" );
12
13
});
13
14
14
15
Route::get ('docs ' , 'DocsController@showRootPage ' );
15
16
Route::get ('docs/{version}/{page?} ' , 'DocsController@show ' );
16
17
18
+ Route::get ('apis/{version?} ' , function ($ version = DEFAULT_VERSION ) {
19
+ return redirect ("/api/ {$ version }/index.html " );
20
+ });
21
+
17
22
Route::get ('partners ' , function () {
18
23
return view ('partners ' );
19
24
});
You can’t perform that action at this time.
0 commit comments