docusaurus-plugin-statuspage
Displays a discreet, dismissible banner on your Docusaurus site when your public Statuspage.io reports degraded service or ongoing incidents. Links users straight to your status page for details.
Why use it
- You already have a StatuspageStatuspage Atlassian's hosted status-page product with a public JSON API for incidents and component statuses. and want to surface incidents to docs readers
- You want a zero-maintenance outage banner — it reads from StatuspageStatuspage Atlassian's hosted status-page product with a public JSON API for incidents and component statuses.'s public API, no webhooks or pushing state around
- You want per-incident dismissal so users aren't nagged after acknowledging an issue
How it works
- Build time — the plugin injects a
<meta name="docusaurus-statuspage" …>tag with your config - Runtime — a lightweight client script fetches
{statuspageUrl}/api/v2/summary.json - If
status.indicatoris notnoneor there are ongoing incidents, the banner appears - Dismissal is persisted per-incident in
localStorage
Live demo
This site is configured against GitHub's public StatuspageStatuspage Atlassian's hosted status-page product with a public JSON API for incidents and component statuses. (https://www.githubstatus.com) for demonstration — if GitHub is having issues when you visit, you'll see a banner.
Real-world example
Full runnable example site at examples/docusaurus-v3/.
Compatibility
- Docusaurus
^3.0.0 - React
^18 - A public StatuspageStatuspage Atlassian's hosted status-page product with a public JSON API for incidents and component statuses..io URL that exposes
/api/v2/summary.json