Skip to content

Commit

Permalink
fix slug indices and docusaurus config
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Jul 30, 2023
1 parent 259e0a1 commit 4051979
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
22 changes: 18 additions & 4 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,15 @@ module.exports = {
position: 'left',
},
{
to: 'docs/index',
to: 'docs/specific',
activeBasePath: 'docs',
label: 'Documentation Index',
label: 'More Specific Documentation',
position: 'left',
},
{
to: 'docs/tasks',
activeBasePath: 'docs',
label: 'Recurring Tasks',
position: 'left',
},
{
Expand All @@ -48,8 +54,16 @@ module.exports = {
title: 'Guides',
items: [
{
label: 'Documentation Index',
to: 'docs/index',
label: 'Getting Started',
to: 'docs/getting_started',
},
{
label: 'More Specific Documentation',
to: 'docs/specific',
},
{
label: 'Recurring Tasks',
to: 'docs/tasks',
},
],
},
Expand Down
4 changes: 2 additions & 2 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const sidebars = {
label: 'More Specific Documentation',
link: {
type: 'generated-index',
slug: 'index',
slug: 'specific',
},

items: ['webscraper_tutorial', 'kiosks', `lambda-common-layer`, `carbon-calculator`, `energy-dashboard-graphs`],
Expand All @@ -41,7 +41,7 @@ const sidebars = {
label: 'Recurring Tasks',
link: {
type: 'generated-index',
slug: 'index',
slug: 'tasks',
},

items: ['cloudwatch', 'openssl', `adding_meters_buildings`, `kilowatt_crackdown`, `git`],
Expand Down

0 comments on commit 4051979

Please sign in to comment.