fix(UI): add API reference to Settings sidebar

This commit is contained in:
jakeaturner 2026-07-24 03:46:30 +00:00
parent 678bb17fbd
commit 7fc5132e9e
No known key found for this signature in database
GPG Key ID: B1072EBDEECE328D
2 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,7 @@ const REFERENCE_HTML = `<!doctype html>
url: '/api/openapi.json',
hideClientButton: true,
telemetry: false,
theme: 'saturn',
})
</script>
</body>

View File

@ -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 },
]