Files
actual/sidebars.js
Rich In SQL 14d9afc768 Releasing Documentation
Migrating releasing
2022-10-18 18:19:25 +01:00

203 lines
4.7 KiB
JavaScript

/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
// @ts-check
/** @type {(title: string) => unknown} */
const unavailable = (title) => ({
type: 'html',
value: title,
className: 'menu__link menu__link--unavailable',
defaultStyle: true
})
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
docs: [
'index',
{
type: 'category',
label: 'Installing Actual',
link: {
type: 'generated-index',
},
items: [
'Installing/overview',
{
type: 'category',
label: 'On Your Own Server',
link: {
type: 'generated-index',
},
items: [
'Installing/Docker',
'Installing/Unraid',
{
type: 'category',
label: 'Synology',
link: {
type: 'doc',
id: 'Installing/synology/synology',
},
items: [
'Installing/synology/synology-reverse-proxy',
'Installing/synology/synology-watchtower',
]
},
]
},
{
type: 'category',
label: 'In the Cloud',
link: {
type: 'generated-index',
},
items: [
{
type: 'category',
label: 'Fly.io',
link: {
type: 'doc',
id: 'Installing/fly/Fly.io',
},
items: [
'Installing/fly/Fly-prerequisites',
'Installing/fly/Fly-git',
'Installing/fly/Fly-image',
'Installing/fly/Fly-terraform',
'Installing/fly/Fly-updating',
'Installing/fly/Fly-persisting',
],
},
'Installing/Pikapods',
'Installing/Terraform',
]
},
],
},
{
type: 'category',
label: 'Getting Started',
link: {
type: 'generated-index',
},
collapsed: true,
items: [
'Getting-Started/tipstricks',
'Getting-Started/sync',
'Getting-Started/managefiles',
{
type: 'category',
label: 'Migrating From Other Apps',
link: {
type: 'doc',
id: 'Getting-Started/migration/migration-intro',
},
items: [
'Getting-Started/migration/ynab4',
unavailable('nYNAB'),
]
},
],
},
{
type: 'category',
label: 'Budgeting',
collapsed: true,
items: [
'Budgeting/howitworks',
'Budgeting/categories',
{
type: 'category',
label: 'Rules',
collapsed: true,
link: {
type: 'doc',
id: 'Budgeting/rules/rules',
},
items: [
'Budgeting/rules/rules-custom',
],
},
'Budgeting/schedules',
'Budgeting/reconcile',
'Budgeting/returnsandreimbursements',
'Budgeting/creditcards',
//unavailable('Returns and Reimbursements'),
],
},
{
type: 'category',
label: 'Accounts',
collapsed: true,
items: [
'Accounts/overview',
'Accounts/addaccount',
'Accounts/importing-trans',
unavailable('Connecting Your Bank'),
'Accounts/payees',
'Accounts/transfers',
],
},
{
type: 'category',
label: 'Reports',
collapsed: true,
items: [
'Reports/overview',
unavailable('Custom Reports'),
],
},
{
type: 'category',
label: 'Backup & Restore',
link: {
type: 'generated-index',
},
collapsed: true,
items: [
'Backup-Restore/Backups',
'Backup-Restore/Restore',
],
},
{
type: 'category',
label: 'Developers',
link: {
type: 'generated-index',
},
collapsed: true,
items: [
'Developers/project-layout',
'Developers/releasing',
'Developers/using-the-API',
'Developers/API',
'Developers/ActualQL',
'Developers/Building-Windows',
],
},
'FAQ',
{
type: 'category',
label: 'Troubleshooting',
link: {
type: 'generated-index',
},
collapsed: true,
items: [
'Troubleshooting/Troubleshooting-Edge',
],
},
],
};
module.exports = sidebars;