Skip to content

A local-first personal finance app

[Docs] Tour: Move the Tour to website top level and add a sidebar for the tour (#7399)

Juulz5511d508ba41
diff --git a/packages/docs/docs-sidebar.js b/packages/docs/docs-sidebar.js
index 5d288426ba..f00b1da930 100644
--- a/packages/docs/docs-sidebar.js
+++ b/packages/docs/docs-sidebar.js
@@ -13,27 +13,20 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
+ tourSidebar: [
+ 'tour/index',
+ 'tour/user-interface',
+ 'tour/budget',
+ 'tour/accounts',
+ 'tour/reports',
+ 'tour/schedules',
+ 'tour/payees',
+ 'tour/rules',
+ ],
docs: [
'index',
'vision',
'releases',
- {
- type: 'category',
- label: 'A Tour of Actual',
- link: {
- type: 'doc',
- id: 'tour/index',
- },
- items: [
- 'tour/user-interface',
- 'tour/budget',
- 'tour/accounts',
- 'tour/reports',
- 'tour/schedules',
- 'tour/payees',
- 'tour/rules',
- ],
- },
{
type: 'category',
label: 'Getting Started',
diff --git a/packages/docs/docusaurus.config.js b/packages/docs/docusaurus.config.js
index a07330f684..7f098fab6e 100644
--- a/packages/docs/docusaurus.config.js
+++ b/packages/docs/docusaurus.config.js
@@ -82,6 +82,12 @@ module.exports = {
label: 'Features',
position: 'left',
},
+ {
+ type: 'docSidebar',
+ sidebarId: 'tourSidebar',
+ label: 'Tour',
+ position: 'left',
+ },
{
type: 'doc',
docId: 'index',