mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
wip
This commit is contained in:
parent
c93b11b0da
commit
87ef4776f6
7 changed files with 53 additions and 48 deletions
|
|
@ -14,7 +14,7 @@ return [
|
||||||
},
|
},
|
||||||
|
|
||||||
'link' => function ($page, $path) {
|
'link' => function ($page, $path) {
|
||||||
return $page->baseUrl . '/' . $page->version() . '/' . $path . ($page->prettyUrls ? '' : '.html');
|
return $page->baseUrl . $page->version() . '/' . $path . ($page->prettyUrls ? '' : '.html');
|
||||||
},
|
},
|
||||||
|
|
||||||
// Algolia DocSearch credentials
|
// Algolia DocSearch credentials
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'baseUrl' => env('JIGSAW_BASE_URL') ?? 'https://tenancy.samuelstancl.me/docs',
|
'baseUrl' => env('JIGSAW_BASE_URL') ?? 'https://tenancy.samuelstancl.me/docs/', // must end with /
|
||||||
'production' => true,
|
'production' => true,
|
||||||
|
|
||||||
'docsearchApiKey' => '53c5eaf88e819535d98f4a179c1802e1',
|
'docsearchApiKey' => '53c5eaf88e819535d98f4a179c1802e1',
|
||||||
|
|
|
||||||
|
|
@ -1,52 +1,57 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'Getting Started' => [
|
'1.x' => [
|
||||||
'url' => 'getting-started',
|
'Getting Started' => [
|
||||||
'children' => [
|
'url' => 'getting-started',
|
||||||
'Installation' => 'installation',
|
'children' => [
|
||||||
'Storage Drivers' => 'storage-drivers',
|
'Installation' => 'installation',
|
||||||
'This Package vs Others' => 'difference-between-this-package-and-others',
|
'Storage Drivers' => 'storage-drivers',
|
||||||
'Configuration' => 'configuration',
|
'This Package vs Others' => 'difference-between-this-package-and-others',
|
||||||
|
'Configuration' => 'configuration',
|
||||||
|
],
|
||||||
],
|
],
|
||||||
],
|
'Usage' => [
|
||||||
'Usage' => [
|
'url' => 'usage',
|
||||||
'url' => 'usage',
|
'children' => [
|
||||||
'children' => [
|
'Creating Tenants' => 'creating-tenants',
|
||||||
'Creating Tenants' => 'creating-tenants',
|
'Tenant Routes' => 'tenant-routes',
|
||||||
'Tenant Routes' => 'tenant-routes',
|
'Tenant Storage' => 'tenant-storage',
|
||||||
'Tenant Storage' => 'tenant-storage',
|
'Tenant Manager' => 'tenant-manager',
|
||||||
'Tenant Manager' => 'tenant-manager',
|
'Console Commands' => 'console-commands',
|
||||||
'Console Commands' => 'console-commands',
|
],
|
||||||
],
|
],
|
||||||
],
|
'Digging Deeper' => [
|
||||||
'Digging Deeper' => [
|
'url' => 'digging-deeper',
|
||||||
'url' => 'digging-deeper',
|
'children' => [
|
||||||
'children' => [
|
'Middleware Configuration' => 'middleware-configuration',
|
||||||
'Middleware Configuration' => 'middleware-configuration',
|
'Custom Database Names' => 'custom-database-names',
|
||||||
'Custom Database Names' => 'custom-database-names',
|
'Filesystem Tenancy' => 'filesystem-tenancy',
|
||||||
'Filesystem Tenancy' => 'filesystem-tenancy',
|
'Jobs & Queues' => 'jobs-queues',
|
||||||
'Jobs & Queues' => 'jobs-queues',
|
'Event System' => 'event-system',
|
||||||
'Event System' => 'event-system',
|
'Tenancy Initialization' => 'tenancy-initialization',
|
||||||
'Tenancy Initialization' => 'tenancy-initialization',
|
'Application Testing' => 'application-testing',
|
||||||
'Application Testing' => 'application-testing',
|
'Writing Storage Drivers' => 'writing-storage-drivers',
|
||||||
'Writing Storage Drivers' => 'writing-storage-drivers',
|
'Development' => 'development',
|
||||||
'Development' => 'development',
|
],
|
||||||
],
|
],
|
||||||
],
|
'Integrations' => [
|
||||||
'Integrations' => [
|
'url' => 'integrations',
|
||||||
'url' => 'integrations',
|
'children' => [
|
||||||
'children' => [
|
'Telescope' => 'telescope',
|
||||||
'Telescope' => 'telescope',
|
'Horizon' => 'horizon',
|
||||||
'Horizon' => 'horizon',
|
],
|
||||||
],
|
],
|
||||||
],
|
'Tips' => [
|
||||||
'Tips' => [
|
'children' => [
|
||||||
'children' => [
|
'HTTPS Certificates' => 'https-certificates',
|
||||||
'HTTPS Certificates' => 'https-certificates',
|
'Misc' => 'misc-tips',
|
||||||
'Misc' => 'misc-tips',
|
],
|
||||||
],
|
],
|
||||||
|
'Stay Updated' => 'stay-updated',
|
||||||
|
'GitHub' => 'https://github.com/stancl/tenancy',
|
||||||
|
],
|
||||||
|
'2.x' => [
|
||||||
|
|
||||||
],
|
],
|
||||||
'Stay Updated' => 'stay-updated',
|
|
||||||
'GitHub' => 'https://github.com/stancl/tenancy',
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en-US">
|
<html lang="en-US">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="refresh" content="0; url=getting-started/index.html">
|
<meta http-equiv="refresh" content="0; url=getting-started">
|
||||||
<title>stancl/tenancy</title>
|
<title>stancl/tenancy</title>
|
||||||
</head>
|
</head>
|
||||||
</html>
|
</html>
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en-US">
|
<html lang="en-US">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="refresh" content="0; url=getting-started/index.html">
|
<meta http-equiv="refresh" content="0; url=getting-started">
|
||||||
<title>stancl/tenancy</title>
|
<title>stancl/tenancy</title>
|
||||||
</head>
|
</head>
|
||||||
</html>
|
</html>
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
@php $level = $level ?? 0 @endphp
|
@php $level = $level ?? 0 @endphp
|
||||||
|
|
||||||
<ul class="list-reset my-0">
|
<ul class="list-reset my-0">
|
||||||
@foreach ($items as $label => $item)
|
@foreach ($items[$page->version()] as $label => $item)
|
||||||
@include('_nav.menu-item')
|
@include('_nav.menu-item')
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en-US">
|
<html lang="en-US">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="refresh" content="0; url={{ $page->baseUrl . $page->defaultVersion }}/index.html">
|
<meta http-equiv="refresh" content="0; url={{ $page->baseUrl . $page->defaultVersion }}">
|
||||||
<title>stancl/tenancy</title>
|
<title>stancl/tenancy</title>
|
||||||
</head>
|
</head>
|
||||||
</html>
|
</html>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue