File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
resources/views/components Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 2424 'build_dir ' => __DIR__ .'/build/%version% ' ,
2525 'cache_dir ' => __DIR__ .'/cache/%version% ' ,
2626 'default_opened_level ' => 2 ,
27- 'remote_repository ' => new GitHubRemoteRepository ('filament /filament ' , dirname ($ dir )),
27+ 'remote_repository ' => new GitHubRemoteRepository ('filamentphp /filament ' , dirname ($ dir )),
2828 'base_url ' => 'https://filamentphp.com/api/%version%/ ' ,
2929]);
Original file line number Diff line number Diff line change @@ -106,6 +106,12 @@ class="p-2 transition duration-300 will-change-transform hover:translate-x-1 hov
106106 >
107107 Documentation
108108 </a >
109+ <a
110+ href =" {{ route (' api-docs' ) } }"
111+ class =" p-2 transition duration-300 will-change-transform hover:translate-x-1 hover:text-black motion-reduce:transition-none motion-reduce:hover:transform-none"
112+ >
113+ PHP API Documentation
114+ </a >
109115 <a
110116 href =" {{ route (' plugins' ) } }"
111117 class =" p-2 transition duration-300 will-change-transform hover:translate-x-1 hover:text-black motion-reduce:transition-none motion-reduce:hover:transform-none"
Original file line number Diff line number Diff line change 5656
5757Route::get ('/api/{version?} ' , function (string $ version = '3.x ' ): RedirectResponse {
5858 return redirect ('/api/ ' . $ version . '/index.html ' );
59- })->where ('version ' , '/ [1-3]+\.x/ ' )->name ('api-docs ' );
59+ })->where ('version ' , '[1-3]+\.x ' )->name ('api-docs ' );
6060
6161Route::prefix ('/docs ' )->group (function () {
6262 Route::redirect ('/getting-started ' , '/docs/panels/getting-started ' );
You can’t perform that action at this time.
0 commit comments