mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 02:04:03 +00:00
wip
This commit is contained in:
parent
773d66956f
commit
bb4f140cca
6 changed files with 33 additions and 32 deletions
|
|
@ -7,13 +7,14 @@ return [
|
|||
'siteDescription' => 'A Laravel multi-database tenancy package that respects your code.',
|
||||
|
||||
'defaultVersion' => '2.x',
|
||||
'prettyUrls' => true,
|
||||
|
||||
'version' => function ($page) {
|
||||
return explode('/', $page->getPath())[1];
|
||||
},
|
||||
|
||||
'link' => function ($page, $path) {
|
||||
return $page->baseUrl . '/' . $page->version() . '/' . $path;
|
||||
return $page->baseUrl . '/' . $page->version() . '/' . $path . ($page->prettyUrls ? '' : '.html');
|
||||
},
|
||||
|
||||
// Algolia DocSearch credentials
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue