mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
beta label
This commit is contained in:
parent
dcd7a47f2e
commit
38593e61a2
2 changed files with 4 additions and 4 deletions
|
|
@ -6,12 +6,12 @@ return [
|
||||||
'siteName' => 'stancl/tenancy documentation',
|
'siteName' => 'stancl/tenancy documentation',
|
||||||
'siteDescription' => 'A Laravel multi-database tenancy package that respects your code.',
|
'siteDescription' => 'A Laravel multi-database tenancy package that respects your code.',
|
||||||
|
|
||||||
// key => display text
|
// key => display name
|
||||||
'versions' => [
|
'versions' => [
|
||||||
'1.x' => '1.x',
|
'1.x' => '1.x',
|
||||||
'2.x' => '2.x (beta)',
|
'2.x' => '2.x (beta)',
|
||||||
],
|
],
|
||||||
'defaultVersion' => '2.x',
|
'defaultVersion' => '1.x',
|
||||||
'prettyUrls' => true,
|
'prettyUrls' => true,
|
||||||
|
|
||||||
'version' => function ($page) {
|
'version' => function ($page) {
|
||||||
|
|
|
||||||
|
|
@ -58,14 +58,14 @@
|
||||||
|
|
||||||
<div class="flex flex-1 justify-end items-center text-right md:pl-10">
|
<div class="flex flex-1 justify-end items-center text-right md:pl-10">
|
||||||
<select id="versionSelect">
|
<select id="versionSelect">
|
||||||
@foreach($page->navigation as $version => $_)
|
@foreach($page->versions as $version => $name)
|
||||||
<option
|
<option
|
||||||
value="/{{ $page->baseUrl . $version }}"
|
value="/{{ $page->baseUrl . $version }}"
|
||||||
@if($page->version() === $version)
|
@if($page->version() === $version)
|
||||||
selected
|
selected
|
||||||
@endif
|
@endif
|
||||||
>
|
>
|
||||||
{{ $version }}
|
{{ $name }}
|
||||||
</option>
|
</option>
|
||||||
@endforeach
|
@endforeach
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue