Skip to content

Commit 328b547

Browse files
committed
'4.0.16'
1 parent 3949228 commit 328b547

49 files changed

Lines changed: 1916 additions & 3481 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

index.html

Lines changed: 842 additions & 873 deletions
Large diffs are not rendered by default.

js/styles/theme.css

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,80 +1068,3 @@ kbd {
10681068
}
10691069
}
10701070

1071-
<<<<<<< Updated upstream
1072-
=======
1073-
/* ==========================================================================
1074-
18. Algolia DocSearch Overrides
1075-
========================================================================== */
1076-
1077-
/* Light Theme (Default) */
1078-
:root {
1079-
--docsearch-primary-color: var(--jooby-blue);
1080-
--docsearch-highlight-color: var(--jooby-blue);
1081-
--docsearch-text-color: var(--text-main);
1082-
--docsearch-muted-color: var(--text-muted);
1083-
--docsearch-searchbox-shadow: inset 0 0 0 2px var(--jooby-blue);
1084-
--docsearch-searchbox-focus-background: var(--bg-main);
1085-
}
1086-
1087-
/* Dark Theme Overrides */
1088-
html[data-theme="dark"] {
1089-
--docsearch-text-color: var(--text-main);
1090-
--docsearch-container-background: rgba(15, 23, 42, 0.85); /* Slightly darker backdrop */
1091-
--docsearch-modal-background: var(--bg-surface);
1092-
--docsearch-modal-shadow: inset 1px 1px 0 0 #334155, 0 8px 24px 0 rgba(0,0,0,0.5);
1093-
--docsearch-searchbox-background: var(--bg-main);
1094-
--docsearch-searchbox-focus-background: var(--bg-main);
1095-
--docsearch-hit-color: var(--text-muted);
1096-
--docsearch-hit-active-color: var(--bg-main);
1097-
--docsearch-hit-background: var(--bg-main);
1098-
}
1099-
1100-
/* --- Seamless Button Integration --- */
1101-
1102-
/* Force the button to fit your sidebar perfectly */
1103-
.DocSearch-Button {
1104-
border-radius: var(--border-radius) !important;
1105-
background: var(--bg-main) !important;
1106-
border: 1px solid var(--border-color) !important;
1107-
box-shadow: none !important;
1108-
color: var(--text-muted) !important;
1109-
transition: all 0.2s ease;
1110-
width: 100% !important; /* Stretch to fill sidebar */
1111-
margin: 0 0 1.5rem 0 !important; /* Space below the button */
1112-
padding: 0 10px !important;
1113-
justify-content: flex-start !important; /* Align "Search" to the left */
1114-
}
1115-
1116-
/* Push the keyboard shortcut to the right edge */
1117-
.DocSearch-Button-Keys {
1118-
margin-left: auto !important;
1119-
min-width: auto !important;
1120-
}
1121-
1122-
.DocSearch-Button:hover {
1123-
border-color: var(--jooby-blue) !important;
1124-
color: var(--jooby-blue) !important;
1125-
box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
1126-
}
1127-
1128-
/* --- Keyboard Shortcut Keys (kbd) --- */
1129-
.DocSearch-Button-Keys kbd {
1130-
font-family: var(--font-code);
1131-
background: var(--bg-surface) !important;
1132-
border: 1px solid var(--border-color) !important;
1133-
color: var(--text-muted) !important;
1134-
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 0 0 2px var(--bg-main) !important;
1135-
border-radius: 4px !important;
1136-
padding: 0.1rem 0.3rem !important;
1137-
width: auto !important;
1138-
height: auto !important;
1139-
}
1140-
1141-
/* Brighten the keys explicitly in Dark Mode */
1142-
html[data-theme="dark"] .DocSearch-Button-Keys kbd {
1143-
color: #e2e8f0 !important;
1144-
background: #334155 !important;
1145-
}
1146-
1147-
>>>>>>> Stashed changes

migration/3.x/index.html

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111
<title>jooby: 3.x</title>
1212
<link rel="stylesheet" href="../../js/styles/theme.css">
1313
<link rel="stylesheet" href="../../js/styles/atom-one-dark.min.css">
14-
<meta name="algolia-site-verification" content="B92EF92B303805F4">
1514
<link rel="preconnect" href="https://fonts.googleapis.com">
1615
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
17-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3">
1816
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&amp;display=swap" rel="stylesheet">
1917
<script>
2018
// This MUST be in the <head>. It runs before the body is rendered, preventing the white flash.
@@ -28,7 +26,6 @@
2826
</head>
2927
<body class="book toc2 toc-left">
3028
<div class="mobile-nav-bar">
31-
<span style="font-weight: 700; color: var(--heading-color);">Jooby</span>
3229
<button id="menu-toggle" class="hamburger" aria-label="Toggle Menu">
3330
<span></span><span></span><span></span>
3431
</button>
@@ -103,13 +100,13 @@ <h4 id="upgrading-from-2-x-to-3-x-kotlin"><a class="anchor" href="#upgrading-fro
103100

104101

105102
<div class="switch"><div class="switch--item option-1 selected">Maven</div><div class="switch--item option-2">Gradle</div></div><div class="content option-1">
106-
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="xbf3ead8f465b410d">&lt;dependency&gt;
103+
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="x64634afb1e5d4c89">&lt;dependency&gt;
107104
&lt;groupId&gt;io.jooby&lt;/groupId&gt;
108105
&lt;artifactId&gt;jooby-kotlin&lt;/artifactId&gt;
109106
&lt;version&gt;4.0.16&lt;/version&gt;
110-
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#xbf3ead8f465b410d"><img src="/../../images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
107+
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#x64634afb1e5d4c89"><img src="/../../images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
111108
</div><div class="content hidden option-2">
112-
<pre class="highlightjs highlight"><code class="language-gradle hljs" data-lang="gradle" id="xcce126144c98484d">implementation 'io.jooby:jooby-kotlin:4.0.16'</code><button class="clipboard" data-clipboard-target="#xcce126144c98484d"><img src="/../../images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
109+
<pre class="highlightjs highlight"><code class="language-gradle hljs" data-lang="gradle" id="xb80a93d5c81441c">implementation 'io.jooby:jooby-kotlin:4.0.16'</code><button class="clipboard" data-clipboard-target="#xb80a93d5c81441c"><img src="/../../images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
113110
</div></div>
114111

115112
</div>
@@ -670,33 +667,5 @@ <h4 id="upgrading-from-2-x-to-3-x-reactive-support"><a class="anchor" href="#upg
670667
}
671668
});
672669
</script>
673-
674-
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
675-
676-
<script>
677-
document.addEventListener('DOMContentLoaded', function() {
678-
// 1. Find Asciidoctor's auto-generated TOC
679-
const toc = document.getElementById('toc');
680-
681-
if (toc) {
682-
// 2. Create the search container dynamically
683-
const searchContainer = document.createElement('div');
684-
searchContainer.id = 'docsearch';
685-
686-
// 3. Inject it at the very top of the TOC, above the title
687-
toc.insertBefore(searchContainer, toc.firstChild);
688-
689-
// 4. Initialize Algolia into that new container
690-
docsearch({
691-
appId: '9U2WK2CSJ7',
692-
apiKey: '113e159f5c587fdac629948dd80dd993',
693-
indexName: 'jooby',
694-
container: '#docsearch'
695-
});
696-
} else {
697-
console.warn("Could not find the #toc element to inject the search bar.");
698-
}
699-
});
700-
</script>
701670
</body>
702671
</html>

migration/4.x/index.html

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111
<title>jooby: 4.x</title>
1212
<link rel="stylesheet" href="../../js/styles/theme.css">
1313
<link rel="stylesheet" href="../../js/styles/atom-one-dark.min.css">
14-
<meta name="algolia-site-verification" content="B92EF92B303805F4">
1514
<link rel="preconnect" href="https://fonts.googleapis.com">
1615
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
17-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3">
1816
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&amp;display=swap" rel="stylesheet">
1917
<script>
2018
// This MUST be in the <head>. It runs before the body is rendered, preventing the white flash.
@@ -28,7 +26,6 @@
2826
</head>
2927
<body class="book toc2 toc-left">
3028
<div class="mobile-nav-bar">
31-
<span style="font-weight: 700; color: var(--heading-color);">Jooby</span>
3229
<button id="menu-toggle" class="hamburger" aria-label="Toggle Menu">
3330
<span></span><span></span><span></span>
3431
</button>
@@ -461,33 +458,5 @@ <h4 id="upgrading-from-3-x-to-4-x-method"><a class="anchor" href="#upgrading-fro
461458
}
462459
});
463460
</script>
464-
465-
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
466-
467-
<script>
468-
document.addEventListener('DOMContentLoaded', function() {
469-
// 1. Find Asciidoctor's auto-generated TOC
470-
const toc = document.getElementById('toc');
471-
472-
if (toc) {
473-
// 2. Create the search container dynamically
474-
const searchContainer = document.createElement('div');
475-
searchContainer.id = 'docsearch';
476-
477-
// 3. Inject it at the very top of the TOC, above the title
478-
toc.insertBefore(searchContainer, toc.firstChild);
479-
480-
// 4. Initialize Algolia into that new container
481-
docsearch({
482-
appId: '9U2WK2CSJ7',
483-
apiKey: '113e159f5c587fdac629948dd80dd993',
484-
indexName: 'jooby',
485-
container: '#docsearch'
486-
});
487-
} else {
488-
console.warn("Could not find the #toc element to inject the search bar.");
489-
}
490-
});
491-
</script>
492461
</body>
493462
</html>

0 commit comments

Comments
 (0)