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
c93b11b0da
commit
87ef4776f6
7 changed files with 53 additions and 48 deletions
|
|
@ -14,7 +14,7 @@ return [
|
|||
},
|
||||
|
||||
'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
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
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,
|
||||
|
||||
'docsearchApiKey' => '53c5eaf88e819535d98f4a179c1802e1',
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'1.x' => [
|
||||
'Getting Started' => [
|
||||
'url' => 'getting-started',
|
||||
'children' => [
|
||||
|
|
@ -49,4 +50,8 @@ return [
|
|||
],
|
||||
'Stay Updated' => 'stay-updated',
|
||||
'GitHub' => 'https://github.com/stancl/tenancy',
|
||||
],
|
||||
'2.x' => [
|
||||
|
||||
],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<html lang="en-US">
|
||||
<head>
|
||||
<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>
|
||||
</head>
|
||||
</html>
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
<html lang="en-US">
|
||||
<head>
|
||||
<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>
|
||||
</head>
|
||||
</html>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
@php $level = $level ?? 0 @endphp
|
||||
|
||||
<ul class="list-reset my-0">
|
||||
@foreach ($items as $label => $item)
|
||||
@foreach ($items[$page->version()] as $label => $item)
|
||||
@include('_nav.menu-item')
|
||||
@endforeach
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<html lang="en-US">
|
||||
<head>
|
||||
<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>
|
||||
</head>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue