Skip to content

Commit 98dd152

Browse files
committed
bookings docs - added
1 parent 0312f44 commit 98dd152

30 files changed

+663
-26
lines changed

components/layout/CustomAside.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const appConfig = useAppConfig();
4646
const sidebarItems = computed(() => {
4747
const path = route.path.replace(/^\/+|\/+$/g, ''); // Remove leading/trailing slashes
4848
49-
const sidebarConfig = appConfig.shadcnDocs?.sidebar || {};
49+
const sidebarConfig = appConfig.comfortErpDocs?.sidebar || {};
5050
5151
// Normalize config keys too
5252
const normalizedConfig = Object.fromEntries(

components/layout/CustomPrevNext.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const appConfig = useAppConfig();
1313
1414
// Get flattened list of all sidebar items (with both link and text) in order
1515
const sidebarItems = computed(() => {
16-
const sidebarConfig = appConfig.shadcnDocs?.sidebar || {};
16+
const sidebarConfig = appConfig.comfortErpDocs?.sidebar || {};
1717
const key = Object.keys(sidebarConfig).find(k => route.path.startsWith(k));
1818
if (!key) return [];
1919

composables/useConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const defaultConfig: DefaultConfig = {
160160
};
161161

162162
export function useConfig() {
163-
const appConfig = computed(() => useAppConfig()?.shadcnDocs || {});
163+
const appConfig = computed(() => useAppConfig()?.comfortErpDocs || {});
164164

165165
const { navKeyFromPath } = useContentHelpers();
166166
const { navigation, page } = useContent();

pages/[...slug].vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<ContentRenderer
2121
:key="page._id"
2222
:value="page"
23-
:data="(appConfig.shadcnDocs as any)?.data"
23+
:data="(appConfig.comfortErpDocs as any)?.data"
2424
/>
2525
</div>
2626
<main
@@ -54,7 +54,7 @@
5454
v-else
5555
:key="page._id"
5656
:value="page"
57-
:data="(appConfig.shadcnDocs as any)?.data"
57+
:data="(appConfig.comfortErpDocs as any)?.data"
5858
class="docs-content"
5959
/>
6060

pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<ContentRenderer
77
:key="page._id"
88
:value="page"
9-
:data="(appConfig.shadcnDocs as any)?.data"
9+
:data="(appConfig.comfortErpDocs as any)?.data"
1010
/>
1111
</div>
1212
</template>

types/index.d.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,6 @@ interface DefaultConfig {
6767
collapseLevel: number;
6868
folderStyle: 'default' | 'tree' | 'group';
6969
};
70-
sidebar: {
71-
[path: string]: Array<{
72-
text: string;
73-
link?: string;
74-
collapsible?: boolean;
75-
collapsed?: boolean;
76-
items?: Array<{
77-
text: string;
78-
link: string;
79-
collapsible?: boolean;
80-
items?: Array<{
81-
text: string;
82-
link: string;
83-
}>;
84-
}>;
85-
}>;
86-
};
8770
main: {
8871
breadCrumb: boolean;
8972
showTitle: boolean;

www/content/comfortaccounting/0.index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,4 @@ card: "article"
1111

1212
# Comfort Accounting Documentation
1313

14-
Welcome to the Comfort Accounting main page.
15-
16-
14+
Welcome to the Comfort Accounting main page.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: "Comfort Bookings & Appointments Documentation"
3+
description: "Documentation for Comfort Bookings & Appointments for WordPress"
4+
keywords: "Comfort Bookings & Appointments index keywords."
5+
url: "/comfortbookings/classic-widgets"
6+
type: "article"
7+
site_name: "Comfort ERP"
8+
image: /seo_card.png
9+
card: "article"
10+
---
11+
# Classic Widgets
12+
13+
**Last modified:** July 14, 2025
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: "Comfort Bookings & Appointments Documentation"
3+
description: "Documentation for Comfort Bookings & Appointments"
4+
keywords: "Comfort Bookings & Appointments index keywords"
5+
url: "/comfortbookings/code-samples"
6+
type: "type"
7+
site_name: "Comfort ERP"
8+
image: /seo_card.png
9+
card: "article"
10+
---
11+
# Code Samples
12+
13+
**Last modified:** July 13, 2025
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: "Comfort Bookings & Appointments Documentation"
3+
description: "Documentation for Comfort Bookings & Appointments for WordPress"
4+
keywords: "Comfort Bookings & Appointments index keywords."
5+
url: "/comfortbookings/elementor-widgets"
6+
type: "type"
7+
site_name: "Comfort ERP"
8+
image: /seo_card.png
9+
card: "article"
10+
---
11+
# Elementor Widgets
12+
13+
**Last modified:** July 14, 2025

0 commit comments

Comments
 (0)