mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-05-28 18:43:40 +00:00
New dedicated page for community-contributed examples, starting with Dutch solar feed-in compensation (saldering) patterns adapted from GitHub Discussion #105 (OdynBrouwer). Includes input_number helpers for country-specific tax rates, template sensors for feed-in with and without saldering, smart export automation, and dashboard card. German spot price share template as starting point. Norwegian/Swedish sections as placeholders for future contributions. YAML code blocks use collapsible details elements to keep the page scannable. Page is framed generically to accommodate any type of community example in the future (not just country-specific). Added cross-reference from sensors.md Energy Price section and new "Community" sidebar category. Impact: Users (especially Netherlands) can find ready-to-adapt template examples for country-specific price calculations using the energy_price and tax attributes. Framework ready for additional community examples.
70 lines
1.7 KiB
TypeScript
70 lines
1.7 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: '🚀 Getting Started',
|
||
items: ['installation', 'configuration'],
|
||
collapsible: true,
|
||
collapsed: false,
|
||
},
|
||
{
|
||
type: 'category',
|
||
label: '📖 Core Concepts',
|
||
items: ['concepts', 'glossary'],
|
||
collapsible: true,
|
||
collapsed: false,
|
||
},
|
||
{
|
||
type: 'category',
|
||
label: '📊 Features',
|
||
items: ['sensors', 'period-calculation', 'dynamic-icons', 'icon-colors', 'actions'],
|
||
collapsible: true,
|
||
collapsed: false,
|
||
},
|
||
{
|
||
type: 'category',
|
||
label: '🎨 Visualization',
|
||
items: ['dashboard-examples', 'chart-examples'],
|
||
collapsible: true,
|
||
collapsed: false,
|
||
},
|
||
{
|
||
type: 'category',
|
||
label: '🤖 Automation',
|
||
items: ['automation-examples'],
|
||
collapsible: true,
|
||
collapsed: false,
|
||
},
|
||
{
|
||
type: 'category',
|
||
label: '<27> Community',
|
||
items: ['community-examples'],
|
||
collapsible: true,
|
||
collapsed: false,
|
||
},
|
||
{
|
||
type: 'category',
|
||
label: '<27>🔧 Help & Support',
|
||
items: ['faq', 'troubleshooting'],
|
||
collapsible: true,
|
||
collapsed: false,
|
||
},
|
||
],
|
||
};
|
||
|
||
export default sidebars;
|