mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-04-09 09:03:40 +00:00
feat: add versioned sidebars for user and developer documentation
This commit is contained in:
parent
bb176135f6
commit
4efd6b7267
3 changed files with 130 additions and 2 deletions
4
.github/workflows/docusaurus.yml
vendored
4
.github/workflows/docusaurus.yml
vendored
|
|
@ -137,8 +137,8 @@ jobs:
|
|||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
|
||||
# Add version files from both docs
|
||||
git add docs/user/versioned_docs/ docs/user/versions.json 2>/dev/null || true
|
||||
git add docs/developer/versioned_docs/ docs/developer/versions.json 2>/dev/null || true
|
||||
git add docs/user/versioned_docs/ docs/user/versioned_sidebars/ docs/user/versions.json 2>/dev/null || true
|
||||
git add docs/developer/versioned_docs/ docs/developer/versioned_sidebars/ docs/developer/versions.json 2>/dev/null || true
|
||||
|
||||
# Commit if there are changes
|
||||
if git diff --staged --quiet; then
|
||||
|
|
|
|||
|
|
@ -0,0 +1,61 @@
|
|||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
67
docs/user/versioned_sidebars/version-v0.29.0-sidebars.json
Normal file
67
docs/user/versioned_sidebars/version-v0.29.0-sidebars.json
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{
|
||||
"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": "🔧 Help & Support",
|
||||
"items": [
|
||||
"faq",
|
||||
"troubleshooting"
|
||||
],
|
||||
"collapsible": true,
|
||||
"collapsed": false
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue