mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-30 05:13:40 +00:00
Add repair notification system with three auto-clearing repair types: - Tomorrow data missing (after 18:00) - API rate limit exceeded (3+ consecutive errors) - Home not found in Tibber account Includes: - coordinator/repairs.py: Complete TibberPricesRepairManager implementation - Enhanced API error handling with explicit 5xx handling - Translations for 5 languages (EN, DE, NB, NL, SV) - Developer documentation in docs/developer/docs/repairs-system.md Impact: Users receive actionable notifications for important issues instead of only seeing stale data in logs.
56 lines
1.5 KiB
TypeScript
56 lines
1.5 KiB
TypeScript
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
|
|
|
|
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
|
|
|
|
/**
|
|
* Creating a sidebar enables you to:
|
|
- create an ordered group of docs
|
|
- render a sidebar for each doc of that group
|
|
- provide next/previous navigation
|
|
|
|
The sidebars can be generated from the filesystem, or explicitly defined here.
|
|
|
|
Create as many sidebars as you want.
|
|
*/
|
|
const sidebars: SidebarsConfig = {
|
|
tutorialSidebar: [
|
|
'intro',
|
|
{
|
|
type: 'category',
|
|
label: '🏗️ Architecture',
|
|
items: ['architecture', 'timer-architecture', 'caching-strategy', 'api-reference'],
|
|
collapsible: true,
|
|
collapsed: false,
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: '💻 Development',
|
|
items: ['setup', 'coding-guidelines', 'critical-patterns', 'repairs-system', 'debugging'],
|
|
collapsible: true,
|
|
collapsed: false,
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: '📐 Advanced Topics',
|
|
items: ['period-calculation-theory', 'refactoring-guide', 'performance', 'recorder-optimization'],
|
|
collapsible: true,
|
|
collapsed: false,
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: '📝 Contributing',
|
|
items: ['contributing'],
|
|
collapsible: true,
|
|
collapsed: false,
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: '🚀 Release',
|
|
items: ['release-management', 'testing'],
|
|
collapsible: true,
|
|
collapsed: false,
|
|
},
|
|
],
|
|
};
|
|
|
|
export default sidebars;
|