Skip to content

Commit 59e875b

Browse files
Merge pull request #24 from DHTMLX/next
[update] incorrect link 2
2 parents f2e1a00 + 68c97fc commit 59e875b

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

docs/guides/integration-with-angular.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ description: You can learn about the integration with Angular in the documentati
77
# Integration with Angular
88

99
:::tip
10-
You should be familiar with basic concepts and patterns of **Angular** before reading this documentation. To refresh your knowledge, please refer to the [**Angular documentation**](https://angular.io/docs).
10+
You should be familiar with basic concepts and patterns of **Angular** before reading this documentation. To refresh your knowledge, please refer to the [**Angular documentation**](https://v17.angular.io/docs).
1111
:::
1212

1313
DHTMLX Booking is compatible with **Angular**. We have prepared code examples on how to use DHTMLX Booking with **Angular**. For more information, refer to the corresponding [**Example on GitHub**](https://github.com/DHTMLX/angular-booking-demo).
1414

1515
## Creating a project
1616

1717
:::info
18-
Before you start to create a new project, install [**Angular CLI**](https://angular.io/cli) and [**Node.js**](https://nodejs.org/en/).
18+
Before you start to create a new project, install [**Angular CLI**](https://v17.angular.io/cli) and [**Node.js**](https://nodejs.org/en/).
1919
:::
2020

2121
Create a new **my-angular-booking-app** project using Angular CLI. Run the following command for this purpose:

docs/guides/integration-with-eventcalendar.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: You can learn about the integration with DHTMLX Event Calendar in t
66

77
# Integration with DHTMLX Event Calendar
88

9-
This guide will show how to integrate the DHTMLX Booking widget with [DHTMLX Event Calendar](https://docs.dhtmlx.com/eventcalendar/).
9+
This guide will show how to integrate the DHTMLX Booking widget with [DHTMLX Event Calendar](https://docs.dhtmlx.com/eventcalendar/).
1010

1111
## Main concepts
1212

@@ -25,7 +25,7 @@ So what you actually need is to generate booking slots from events (the [snippet
2525
- **Timezone handling:**
2626
- Booking interprets timestamps in the local timezone.
2727
- If you use global timestamps, you need to convert them to local timezones before sending them to Booking (and vice versa before saving the data back).
28-
For conversion instructions, refer to [Working with UTC data](/guides/saving-reservations/#working-with-utc-data).
28+
For conversion instructions, refer to [Working with UTC data](/guides/saving-reservations/#working-with-utc-data).
2929

3030
- **Booking slot strategies:**
3131
- Use `slots` and `usedSlots` to build the schedule, ensuring that used slots are excluded (we'll focus on this strategy)
@@ -37,14 +37,13 @@ The snippet below demonstrates how to integrate Booking with the Event Calendar
3737

3838
- `/events` - Event Calendar data (doctor schedules) that includes recurring and single-time events. These events are used to create time slots for the Booking system.
3939

40-
- `/units` - final Booking slots generated from the Event Calendar `events` data. The slots are generated on the server-side. Please, also refer to [backend](https://git.webix.io/XBS/event-calendar-booking-go).
40+
- `/units` - final Booking slots generated from the Event Calendar `events` data. The slots are generated on the server-side. Please, also refer to [backend](https://github.com/DHTMLX/event-calendar-booking-go).
4141

4242
- `/calendars` - contains doctors' calendars. It is used for displaying doctor information in both the Event Calendar and Booking widgets.
4343

4444
- `/reservations` - an auxiliary collection used to visualize `usedSlots` in the timeline view. This data comes from the Booking form, containing information about already reserved slots for doctors.
4545

46-
Converting events to Booking slots is the major part of integration and the rules for handling the events and converting them to slots are described in the [section below](#rules-for-converting-events-to-booking-slots).
47-
46+
Converting events to Booking slots is the major part of integration and the rules for handling the events and converting them to slots are described in the [section below](#rules-for-converting-events-to-booking-slots).
4847

4948
<iframe src="https://snippet.dhtmlx.com/c5eu8pdk?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="800"></iframe>
5049

@@ -85,7 +84,7 @@ Booking slot:
8584
}
8685
~~~
8786

88-
**Rule 2. Recurring events.**
87+
**Rule 2. Recurring events.**
8988

9089
For recurring events, we use a weekly pattern. The start date and end date of each recurring event in Event Calendar should be equal to Booking [start](/api/config/booking-start) and [end](/api/config/booking-end) dates, otherwise create placeholders for dates before and after the recurring event (see Rule 7).
9190

0 commit comments

Comments
 (0)