@aravindc26/velu 0.13.22 → 0.13.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2,11 +2,8 @@ import { createOpenAPI } from 'fumadocs-openapi/server';
|
|
|
2
2
|
|
|
3
3
|
const proxy = createOpenAPI().createProxy({
|
|
4
4
|
filterRequest(request) {
|
|
5
|
-
const target = new URL(request.url).searchParams.get('url');
|
|
6
|
-
if (!target) return false;
|
|
7
|
-
|
|
8
5
|
try {
|
|
9
|
-
const parsed = new URL(
|
|
6
|
+
const parsed = new URL(request.url);
|
|
10
7
|
return parsed.protocol === 'http:' || parsed.protocol === 'https:';
|
|
11
8
|
} catch {
|
|
12
9
|
return false;
|
|
@@ -585,12 +585,8 @@ export function renderDocsLayout(config: DocsLayoutConfig, children: ReactNode):
|
|
|
585
585
|
</div>
|
|
586
586
|
)
|
|
587
587
|
: undefined,
|
|
588
|
-
footer: (
|
|
589
|
-
<div
|
|
590
|
-
className={['velu-sidebar-footer-shell', className].filter(Boolean).join(' ')}
|
|
591
|
-
{...props}
|
|
592
|
-
>
|
|
593
|
-
{footerChildren ? <div className="velu-sidebar-footer-icons">{footerChildren}</div> : null}
|
|
588
|
+
footer: (
|
|
589
|
+
<div className="velu-sidebar-footer-shell">
|
|
594
590
|
<SidebarLinks anchors={globalAnchors} iconLibrary={iconLibrary} languages={languages} />
|
|
595
591
|
</div>
|
|
596
592
|
),
|
|
@@ -543,6 +543,14 @@ nextjs-portal {
|
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
|
|
546
|
+
/* Reveal the fumadocs sidebar footer wrapper (hidden by default) */
|
|
547
|
+
#nd-sidebar > div:has(> .velu-sidebar-footer-shell) {
|
|
548
|
+
display: block !important;
|
|
549
|
+
padding: 0 !important;
|
|
550
|
+
border-top: none !important;
|
|
551
|
+
color: inherit !important;
|
|
552
|
+
}
|
|
553
|
+
|
|
546
554
|
.velu-theme-toggle {
|
|
547
555
|
display: flex;
|
|
548
556
|
align-items: center;
|