Skip to content

Commit 3d9d65e

Browse files
committed
accounting docs - in progress
1 parent e9f9841 commit 3d9d65e

29 files changed

+883
-41
lines changed

pages/[...slug].vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
<Alert
4242
v-if="page?.body?.children?.length === 0"
4343
icon="lucide:circle-x"
44-
4544
:title="$t('Empty page')"
4645
>
4746
<i18n-t keypath="Start writing content">

www/app.config.ts

Lines changed: 93 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -40,50 +40,43 @@ export default defineAppConfig({
4040
dropdownType: 'select',
4141
},
4242
nav: [
43+
{
44+
title: 'Accounting',
45+
to: '/comfortaccounting',
46+
target: '_self',
47+
showLinkIcon: false,
48+
},
4349
{
4450
title: 'Events',
4551
to: '/comfortevents',
4652
target: '_self',
4753
showLinkIcon: false,
4854
},
49-
{
55+
/**{
5056
title: 'Docs',
5157
links: [
52-
// {
53-
// title: 'Events',
54-
// to: '/comfortevents',
55-
// description: 'Start building your document with shadcn-docs-nuxt',
56-
// icon: 'lucide:rocket',
57-
// },
58-
// {
59-
// title: 'Invoice',
60-
// to: '/comfortinvoice',
61-
// description: 'Explore available UI components and usage examples.',
62-
// icon: 'lucide:box',
63-
// },
64-
65-
// {
66-
// title: 'Getting Started',
67-
// to: '/getting-started',
68-
// description: 'Start building your document with shadcn-docs-nuxt',
69-
// icon: 'lucide:rocket',
70-
// },
71-
// {
72-
// title: 'Components',
73-
// to: '/components/prose',
74-
// description: 'Explore available UI components and usage examples.',
75-
// icon: 'lucide:box',
76-
// },
77-
// {
78-
// title: 'API',
79-
// to: '/api/configuration/shadcn-docs',
80-
// description: 'Discover the configurations and exposed APIs.',
81-
// target: '_self',
82-
// icon: 'lucide:code',
83-
// },
58+
{
59+
title: 'Getting Started',
60+
to: '/getting-started',
61+
description: 'Start building your document with shadcn-docs-nuxt',
62+
icon: 'lucide:rocket',
63+
},
64+
{
65+
title: 'Components',
66+
to: '/components/prose',
67+
description: 'Explore available UI components and usage examples.',
68+
icon: 'lucide:box',
69+
},
70+
{
71+
title: 'API',
72+
to: '/api/configuration/shadcn-docs',
73+
description: 'Discover the configurations and exposed APIs.',
74+
target: '_self',
75+
icon: 'lucide:code',
76+
},
8477
],
85-
},
86-
{
78+
},*/
79+
/**{
8780
title: 'Credits',
8881
links: [{
8982
title: 'shadcn-ui',
@@ -106,13 +99,13 @@ export default defineAppConfig({
10699
description: 'Content made easy for Vue Developers',
107100
target: '_blank',
108101
}],
109-
},
110-
{
102+
},*/
103+
/**{
111104
title: 'Blog',
112105
to: '/blog',
113106
target: '_self',
114107
showLinkIcon: false,
115-
},
108+
},*/
116109
],
117110
links: [
118111
{
@@ -134,10 +127,71 @@ export default defineAppConfig({
134127
collapseLevel: 1,
135128
folderStyle: 'default',
136129
},
130+
// Add sidebar configuration directly here
131+
sidebar: {
132+
'/comfortaccounting': [
133+
{
134+
text: 'Comfort Accounting',
135+
collapsible: false,
136+
items: [
137+
{
138+
text: 'Overview',
139+
link: '/comfortaccounting'
140+
},
141+
],
142+
},
143+
{
144+
text: 'Getting Started',
145+
collapsible: true,
146+
items: [
147+
{text: 'How to install', link: '/comfortaccounting/how-to-install'},
148+
{text: 'How to Translate', link: '/comfortaccounting/how-to-translate'},
149+
{text: 'Template Override', link: '/comfortaccounting/template-override'},
150+
{text: 'Hooks and Filters', link: '/comfortaccounting/hooks-and-filters'},
151+
{text: 'Code Samples', link: '/comfortaccounting/code-samples'},
152+
],
153+
},
154+
{
155+
text: 'User Guide',
156+
collapsible: true,
157+
items: [
158+
{text: 'General', link: '/comfortaccounting/user-guide/general'},
159+
{text: 'Dashboard', link: '/comfortaccounting/user-guide/dashboard'},
160+
{text: 'Agency Manager', link: '/comfortaccounting/user-guide/agency-manager'},
161+
{text: 'Account Manager', link: '/comfortaccounting/user-guide/account-manager'},
162+
{text: 'Category Manager', link: '/comfortaccounting/user-guide/category-manager'},
163+
{text: 'VC Manager', link: '/comfortaccounting/user-guide/vc-manager'},
164+
{text: 'Log Manager', link: '/comfortaccounting/user-guide/log-manager'},
165+
{text: 'Reports Manager (Pro)', link: '/comfortaccounting/user-guide/reports-manager'},
166+
{text: 'Settings Manager', link: '/comfortaccounting/user-guide/settings-manager'},
167+
{text: 'Tools Manager', link: '/comfortaccounting/user-guide/tools-manager'},
168+
{text: 'Emails Manager', link: '/comfortaccounting/user-guide/emails-manager'},
169+
{text: 'Helps & Updates', link: '/comfortaccounting/user-guide/helps-updates'},
170+
{text: 'Integrations', link: '/comfortaccounting/user-guide/integrations'},
171+
],
172+
},
173+
{
174+
text: 'Shortcode',
175+
collapsible: true,
176+
items: [
177+
{text: '7 Shortcodes', link: '/comfortaccounting/shortcodes'},
178+
],
179+
},
180+
{
181+
text: 'Widgets',
182+
collapsible: true,
183+
items: [
184+
{text: 'Classic Widgets', link: '/comfortaccounting/classic-widgets'},
185+
{text: 'Elementor Widget', link: '/comfortaccounting/elementor-widgets'},
186+
{text: 'Gutenberg Blocks', link: '/comfortaccounting/gutenberg-blocks'},
187+
],
188+
},
189+
],
190+
},
137191
main: {
138192
padded: true,
139193
breadCrumb: true,
140-
showTitle: true,
194+
showTitle: false, // true to show title, description from page
141195
codeCopyToast: false,
142196
codeCopyIcon: 'lucide:clipboard',
143197
editLink: {
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
title: Comfort Accounting Doc
2+
icon: lucide:rocket
3+
navigation.redirect: /comfortaccounting
4+
navigation: true
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: "Classic Widgets"
3+
description: "Documentation for Comfort Accounting for WordPress"
4+
keywords: "comfort accounting, wordpress, accounting"
5+
url: "/comfortaccounting/classic-widgets"
6+
type: "article"
7+
site_name: "Comfort ERP"
8+
image: /seo_card.png
9+
card: "article"
10+
---
11+
12+
# Classic Widgets
13+
14+
WordPress currently doesn’t support classic widgets but still you can enable it by using this plugin [“Classic Widgets”](https://wordpress.org/plugins/classic-widgets/)
15+
16+
Comfort Accounting for WordPress plugin supports classic widgets. To add Comfort Accounting classic widget from dashboard.
17+
18+
**Appearance -> Widgets -> Comfort Accounting**
19+
20+
Drag the “CBX Changelog” widget from left to any right-side sidebar(s).
21+
22+
After adding the widget to the sidebar, you can adjust the input fields and check your frontend.
23+
\[Video coming soon\]
24+
25+
The following classic widgets(currently 0 widgets (core and pro)) can be accessed from wordpress dashboard widget manager. We will keep adding more classic widgets for this plugin in future as needed. All widgets has shortcode and same params.
26+
27+
**Last modified:** December 9, 2024
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: "Code Samples"
3+
description: "Documentation for Comfort Accounting for WordPress"
4+
keywords: "comfort accounting, wordpress, accounting"
5+
url: "/comfortaccounting/code-samples"
6+
type: "type"
7+
site_name: "Comfort ERP"
8+
image: /seo_card.png
9+
card: "article"
10+
---
11+
12+
# Code Samples
13+
14+
**Last modified:** December 9, 2024
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: "Elementor Widgets"
3+
description: "Documentation for Comfort Accounting for WordPress"
4+
keywords: "comfort accounting, wordpress, accounting"
5+
url: "/comfortaccounting/elementor-widgets"
6+
type: "type"
7+
site_name: "Comfort ERP"
8+
image: /seo_card.png
9+
card: "article"
10+
---
11+
12+
# Elementor Widgets
13+
14+
**Last modified:** December 9, 2024
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: "Gutenberg Blocks"
3+
description: "Documentation for Comfort Accounting for WordPress"
4+
keywords: "comfort accounting, wordpress, accounting"
5+
url: "/comfortaccounting/gutenberg-blocks"
6+
type: "type"
7+
site_name: "Comfort ERP"
8+
image: /seo_card.png
9+
card: "article"
10+
---
11+
12+
# Gutenberg Blocks
13+
14+
**Last modified:** December 9, 2024
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: "Hooks and Filters"
3+
description: "Documentation for Comfort Accounting for WordPress"
4+
keywords: "comfort accounting, wordpress, accounting"
5+
url: "/comfortaccounting/hooks-and-filters"
6+
type: "type"
7+
site_name: "Comfort ERP"
8+
image: /seo_card.png
9+
card: "article"
10+
---
11+
12+
# Hooks and Filters
13+
14+
**Last modified:** December 9, 2024
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: "How to Install"
3+
description: "Documentation for Comfort Accounting for WordPress"
4+
keywords: "comfort accounting, wordpress, accounting"
5+
url: "/comfortaccounting/how-to-install"
6+
type: "type"
7+
site_name: "Comfort ERP"
8+
image: /seo_card.png
9+
card: "article"
10+
---
11+
12+
# How to Install
13+
14+
The core plugin name is **“Comfort Accounting”** and our pro addon names are **“Comfort Accounting Frontend (Pro)”**, **"Comfort Accounting Reports (Pro)"** & **"Comfort Accounting Woo (Pro)"** & & **"Comfort Accounting Integrations (Pro)"**.
15+
16+
## How to install any plugin
17+
18+
Before we know how to install “Comfort Accounting” plugin if we know how to install any WordPress plugin it will be smarter. WordPress.org has very clear and step by instruction for [how to install a plugin](https://wordpress.org/documentation/article/manage-plugins/#installing-plugins-1) from wordpress plugin directory or zip version of a plugin. If you read the article from wordpress.org then now you have basic idea how to install a plugin.
19+
20+
## How to install “Comfort Accounting” Core Plugin
21+
22+
~~You can install Comfort Accounting plugin from your wordpress dashboard -> Plugins -> Add New and then search by the name. Then download the zip file from wordpress.org [plugin dir](https://wordpress.org/plugins/comfortaccounting/) and install manually.~~
23+
[Download](https://comforterp.com/product/comfort-accounting-accounting-solution-for-wordpress/#downloadarea) the core plugin from our website and install the zip file manually from wordpress dashboard plugin manager.
24+
25+
## How to install “Comfort Accounting Frontend”
26+
27+
**Comfort Accounting Frontend** doesn’t work without the core plugin **Comfort Accounting**. So, before you install the pro addon you need to have the core Comfort Accounting plugin installed and activated (if you want to activate this pro addon). So, Comfort Accounting Frontend is an addon plugin for core plugin Comfort Accounting.
28+
To install Comfort Accounting Frontend you have to purchase [license and download](https://comforterp.com/product/comfort-accounting-accounting-solution-for-wordpress/#downloadarea) from our website and then install manually.
29+
30+
## How to install “Comfort Accounting Reports”
31+
32+
**Comfort Accounting Reports** doesn’t work without the core plugin **Comfort Accounting**. So, before you install the pro addon you need to have the core Comfort Accounting plugin installed and activated (if you want to activate this pro addon). So, Comfort Accounting Reports is an addon plugin for core plugin Comfort Accounting.
33+
To install Comfort Accounting Reports you have to purchase [license and download](https://comforterp.com/product/comfort-accounting-accounting-solution-for-wordpress/#downloadarea) from our website and then install manually.
34+
35+
## How to install “Comfort Accounting Woo”
36+
37+
**Comfort Accounting Woo** doesn’t work without the core plugin **Comfort Accounting**. So, before you install the pro addon you need to have the core Comfort Accounting plugin installed and activated (if you want to activate this pro addon). So, Comfort Accounting Woo is an addon plugin for core plugin Comfort Accounting.
38+
To install Comfort Accounting Woo you have to purchase [license and download](https://comforterp.com/product/comfort-accounting-accounting-solution-for-wordpress/#downloadarea) from our website and then install manually.
39+
40+
## How to install “Comfort Accounting Integrations”
41+
42+
**Comfort Accounting Integrations** doesn’t work without the core plugin **Comfort Accounting**. So, before you install the pro addon you need to have the core Comfort Accounting plugin installed and activated (if you want to activate this pro addon). So, Comfort Accounting Integrations is an addon plugin for core plugin Comfort Accounting.
43+
To install Comfort Accounting Integrations you have to purchase [license and download](https://comforterp.com/product/comfort-accounting-accounting-solution-for-wordpress/#downloadarea) from our website and then install manually.
44+
45+
**Last modified:** December 9, 2024
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: "How to Translate"
3+
description: "Documentation for Comfort Accounting for WordPress"
4+
keywords: "comfort accounting, wordpress, accounting"
5+
url: "/comfortaccounting/how-to-translate"
6+
type: "type"
7+
site_name: "Comfort ERP"
8+
image: /seo_card.png
9+
card: "article"
10+
---
11+
12+
# How to Translate
13+
14+
We are not providing any translation (if we add we will mention in future) with the plugin, but we provide the translation template or pot file inside this plugin’s languages folder which can be translated using standard wordpress translation process. But we recommend using [Loco translate](https://wordpress.org/plugins/loco-translate/) which helps to translate from the WordPress dashboard and very easy. We have a video tutorial about [how to use this](https://www.youtube.com/watch?v=yOkEzvjx6PM) loco translate plugin.
15+
16+
17+
**Last modified:** December 9, 2024

0 commit comments

Comments
 (0)