🚀 Adds link to new widgets docs in contents page

This commit is contained in:
Alicia Sykes 2022-01-23 00:30:32 +00:00
parent cbf9b832b9
commit ce8f79ca4d
2 changed files with 43 additions and 35 deletions

View File

@ -23,6 +23,7 @@ import IconContributing from '../../static/icons/docs_contributing.svg';
import IconShowcase from '../../static/icons/docs_showcase.svg'; import IconShowcase from '../../static/icons/docs_showcase.svg';
import IconCredits from '../../static/icons/docs_credits.svg'; import IconCredits from '../../static/icons/docs_credits.svg';
import IconAuth from '../../static/icons/docs_authentication.svg'; import IconAuth from '../../static/icons/docs_authentication.svg';
import IconWidgets from '../../static/icons/features_widgets.svg';
// import IconCloudSync from '../../static/icons/docs_cloud-sync.svg'; // import IconCloudSync from '../../static/icons/docs_cloud-sync.svg';
import IconIconography from '../../static/icons/docs_icons.svg'; import IconIconography from '../../static/icons/docs_icons.svg';
import IconInternationalization from '../../static/icons/docs_internationalisation.svg'; import IconInternationalization from '../../static/icons/docs_internationalisation.svg';
@ -99,41 +100,6 @@ const DocsSections = [
}, },
] ]
}, },
{
section: 'Community',
items: [
{
title: 'Developing',
description: 'Dashy workflow, and running locally',
link: '/docs/developing',
icon: (<IconDeveloping />),
},
{
title: 'Dev Guides',
description: 'Common development tasks',
link: '/docs/development-guides',
icon: (<IconDevGuides />),
},
{
title: 'Contributing',
description: 'How you can help support Dashy\'s development',
link: '/docs/contributing',
icon: (<IconContributing />),
},
{
title: 'Showcase',
description: 'See how others are using Dashy, and share your dashboard',
link: '/docs/showcase',
icon: (<IconShowcase />),
},
{
title: 'Credits',
description: 'List of people and projects that have made Dashy possible',
link: '/docs/credits',
icon: (<IconCredits />),
},
]
},
{ {
section: 'Feature Docs', section: 'Feature Docs',
items: [ items: [
@ -185,6 +151,47 @@ const DocsSections = [
link: '/docs/theming', link: '/docs/theming',
icon: (<IconTheming />), icon: (<IconTheming />),
}, },
{
title: 'Widgets',
description: 'List of all pre-built and custom widgets supported',
link: '/docs/widgets',
icon: (<IconWidgets />),
},
]
},
{
section: 'Community',
items: [
{
title: 'Developing',
description: 'Dashy workflow, and running locally',
link: '/docs/developing',
icon: (<IconDeveloping />),
},
{
title: 'Dev Guides',
description: 'Common development tasks',
link: '/docs/development-guides',
icon: (<IconDevGuides />),
},
{
title: 'Contributing',
description: 'How you can help support Dashy\'s development',
link: '/docs/contributing',
icon: (<IconContributing />),
},
{
title: 'Showcase',
description: 'See how others are using Dashy, and share your dashboard',
link: '/docs/showcase',
icon: (<IconShowcase />),
},
{
title: 'Credits',
description: 'List of people and projects that have made Dashy possible',
link: '/docs/credits',
icon: (<IconCredits />),
},
] ]
}, },
{ {

View File

@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fal" data-icon="digital-tachograph" class="svg-inline--fa fa-digital-tachograph fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M608 96H32c-17.67 0-32 14.33-32 32v256c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V128c0-17.67-14.33-32-32-32zm0 288H32V128h576v256zM80 272h208c8.84 0 16-7.16 16-16v-80c0-8.84-7.16-16-16-16H80c-8.84 0-16 7.16-16 16v80c0 8.84 7.16 16 16 16zm8-88h192v64H88v-64zM72 360h224c4.42 0 8-3.58 8-8v-8c0-4.42-3.58-8-8-8H72c-4.42 0-8 3.58-8 8v8c0 4.42 3.58 8 8 8zm272 0h224c4.42 0 8-3.58 8-8v-8c0-4.42-3.58-8-8-8H344c-4.42 0-8 3.58-8 8v8c0 4.42 3.58 8 8 8zM80 288c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8H80zm64 0c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8h-16zm64 0c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8h-16zm64 0c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8h-16z"></path></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB