Paulus Schoutsen 2c0d330f1f
Reorganize gallery (#11116)
* Reorganize gallery

* GitHub edit links

* Render sidebar during build

* Auto rebuild when sidebar changes

* Yarn dedupe

* Fixes

* Allow just metadata without text

* Show edit text link if metadata defined

* Update build-scripts/gulp/gallery.js

Co-authored-by: Zack Barett <arnett.zackary@gmail.com>

Co-authored-by: Zack Barett <arnett.zackary@gmail.com>
2022-01-06 20:20:57 -08:00

41 lines
716 B
JavaScript

module.exports = [
{
category: "introduction",
demos: ["introduction"],
},
{
category: "lovelace",
// Each section has a header
header: "Lovelace",
// Specify demos to make sure they are put on top.
demos: [],
// Add a demoStart to automatically gather demos based on their name
},
{
category: "automation",
header: "Automation",
},
{
category: "components",
header: "Components",
demos: [
"ha-alert",
"ha-bar",
"ha-chips",
"ha-faded",
"ha-form",
"ha-label-badge",
"ha-selector",
],
},
{
category: "more-info",
header: "More Info",
},
{
category: "rest",
header: "Rest",
},
];