Updates sidebar and footer links

This commit is contained in:
Alicia Sykes 2021-08-29 18:42:57 +01:00
parent 036f42ce04
commit 4eb21d46b5
2 changed files with 34 additions and 18 deletions

View File

@ -60,9 +60,9 @@ module.exports = {
{ {
title: 'Feature Docs Pt 1', title: 'Feature Docs Pt 1',
items: [ items: [
{ label: 'Authentication', to: '/docs/deployment' }, { label: 'Authentication', to: '/docs/authentication' },
{ label: 'Alternate Views', to: '/docs/configuring' }, { label: 'Alternate Views', to: '/docs/alternate-views' },
{ label: 'Backup & Restore', to: '/docs/management' }, { label: 'Backup & Restore', to: '/docs/backup-restore' },
{ label: 'Icons', to: '/docs/icons' }, { label: 'Icons', to: '/docs/icons' },
], ],
}, },
@ -78,9 +78,9 @@ module.exports = {
{ {
title: 'Community', title: 'Community',
items: [ items: [
{ label: 'Developing', to: '/docs/deployment' }, { label: 'Developing', to: '/docs/developing' },
{ label: 'Development Guides', to: '/docs/configuring' }, { label: 'Development Guides', to: '/docs/development-guides' },
{ label: 'Contributing', to: '/docs/management' }, { label: 'Contributing', to: '/docs/contributing' },
{ label: 'Showcase', to: '/docs/showcase' }, { label: 'Showcase', to: '/docs/showcase' },
{ label: 'Credits', to: '/docs/credits' }, { label: 'Credits', to: '/docs/credits' },
], ],
@ -88,9 +88,9 @@ module.exports = {
{ {
title: 'Misc', title: 'Misc',
items: [ items: [
{ label: 'Privacy & Security', to: '/docs/deployment' }, { label: 'Privacy & Security', to: '/docs/privacy' },
{ label: 'License', to: '/docs/configuring' }, { label: 'License', to: '/docs/license' },
{ label: 'Legal', to: '/docs/management' }, { label: 'Legal', to: 'https://github.com/Lissy93/dashy/blob/master/.github/LEGAL.md' },
{ label: 'Code of Conduct', to: '/docs/code-of-conduct' }, { label: 'Code of Conduct', to: '/docs/code-of-conduct' },
{ label: 'Changelog', to: '/docs/changelog' }, { label: 'Changelog', to: '/docs/changelog' },
], ],
@ -109,7 +109,6 @@ module.exports = {
{ {
docs: { docs: {
sidebarPath: require.resolve('./sidebars.js'), sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl: externalUrl.editUrl, editUrl: externalUrl.editUrl,
}, },
theme: { theme: {

View File

@ -10,17 +10,34 @@
*/ */
module.exports = { module.exports = {
// By default, Docusaurus generates a sidebar from the docs folder structure // tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually dashySidebar: [
/*
tutorialSidebar: [
{ {
type: 'category', type: 'category',
label: 'Tutorial', label: 'Running Dashy',
items: ['hello'], items: ['quick-start', 'deployment', 'configuring', 'management', 'troubleshooting'],
},
{
type: 'category',
label: 'Community',
items: ['showcase', 'contributing', 'developing', 'development-guides'],
},
{
type: 'category',
label: 'Feature Docs',
items: [
'icons', 'theming', 'status-indicators',
'authentication', 'searching', 'alternate-views',
'multi-language-support', 'backup-restore',
],
},
{
type: 'category',
label: 'Misc',
items: ['privacy', 'changelog', 'license', 'code-of-conduct'],
}, },
], ],
*/
}; };