Getting started
Install
npm install docusaurus-plugin-statuspage
Minimum config
// docusaurus.config.ts
export default {
plugins: [
[
'docusaurus-plugin-statuspage',
{
statuspageUrl: 'https://acme.statuspage.io',
},
],
],
};
That's it — the plugin reads incidents from https://acme.statuspage.io/api/v2/summary.json and shows a bottom-left banner when anything is wrong.
Verify
- Start your site with
npm start - Inspect the page — you'll see a
<meta name="docusaurus-statuspage" content="…">tag in the<head> - The banner only appears when there's an active incident. To test your setup without waiting for an outage, temporarily point
statuspageUrlat a page with an ongoing incident (e.g. during an actual GitHub outage:https://www.githubstatus.com)
Next
- Configuration — position, custom labels, disabling
- How it works — API calls and dismissal internals