@aravindc26/velu 0.13.21 → 0.13.22

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aravindc26/velu",
3
- "version": "0.13.21",
3
+ "version": "0.13.22",
4
4
  "description": "A modern documentation site generator powered by Markdown and JSON configuration",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -585,15 +585,19 @@ export function renderDocsLayout(config: DocsLayoutConfig, children: ReactNode):
585
585
  </div>
586
586
  )
587
587
  : undefined,
588
- footer: (
589
- <div className="velu-sidebar-footer-shell">
588
+ footer: ({ className, children: footerChildren, ...props }: any) => (
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}
590
594
  <SidebarLinks anchors={globalAnchors} iconLibrary={iconLibrary} languages={languages} />
591
595
  </div>
592
596
  ),
593
597
  }}
594
598
  {...base}
595
599
  links={headerTabLinks.length > 0 ? headerTabLinks : base.links}
596
- themeSwitch={{ enabled: true }}
600
+ themeSwitch={{ enabled: false }}
597
601
  >
598
602
  {children}
599
603
  </DocsLayout>