fix(UI): add API reference to Settings sidebar
This commit is contained in:
parent
678bb17fbd
commit
7fc5132e9e
|
|
@ -41,6 +41,7 @@ const REFERENCE_HTML = `<!doctype html>
|
|||
url: '/api/openapi.json',
|
||||
hideClientButton: true,
|
||||
telemetry: false,
|
||||
theme: 'saturn',
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import {
|
|||
IconArrowBigUpLines,
|
||||
IconBox,
|
||||
IconChartBar,
|
||||
IconCode,
|
||||
IconDashboard,
|
||||
IconFolder,
|
||||
IconGavel,
|
||||
|
|
@ -50,6 +51,7 @@ export default function SettingsLayout({ children }: { children: React.ReactNode
|
|||
},
|
||||
{ name: 'System', href: '/settings/system', icon: IconSettings, current: false },
|
||||
{ name: 'Advanced', href: '/settings/advanced', icon: IconAdjustments, current: false },
|
||||
{ name: 'API Reference', href: '/reference', icon: IconCode, current: false },
|
||||
{ name: 'Support the Project', href: '/settings/support', icon: IconHeart, current: false },
|
||||
{ name: 'Legal Notices', href: '/settings/legal', icon: IconGavel, current: false },
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue