fix(site): move docs link to primary header on observability page (#25313)

Move the "Read the docs" button from the Audit Logging subsection up to
the primary Observability header's `actions` prop, matching the layout
pattern used by General, Network, and other deployment settings pages.

Also updates the docs URL from `/admin/security/audit-logs` to
`/admin/monitoring` to reflect the page-level scope.

> Generated by Coder Agents on behalf of @designertyler

---------

Co-authored-by: TJ <tracy@coder.com>
This commit is contained in:
Tyler
2026-05-14 13:57:01 -05:00
committed by GitHub
co-authored by TJ
parent a43690d29b
commit d79cfcfe61
@@ -33,15 +33,13 @@ export const ObservabilitySettingsPageView: FC<
return (
<div className="flex flex-col gap-12">
<div>
<SettingsHeader>
<SettingsHeader
actions={<SettingsHeaderDocsLink href={docs("/admin/monitoring")} />}
>
<SettingsHeaderTitle>Observability</SettingsHeaderTitle>
</SettingsHeader>
<SettingsHeader
actions={
<SettingsHeaderDocsLink href={docs("/admin/security/audit-logs")} />
}
>
<SettingsHeader>
<SettingsHeaderTitle hierarchy="secondary" level="h2">
Audit Logging
</SettingsHeaderTitle>