Skip to content

Commit 7b6e715

Browse files
Merge pull request #8 from AlexKlimenkov/GS-3072
normalize formatting of h1-h2 headers
2 parents c9a4da0 + 01bef3b commit 7b6e715

File tree

898 files changed

+7359
-7364
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

898 files changed

+7359
-7364
lines changed

docs/api/method/attachevent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ If some of handlers will return *false* - the related operation will be blocked.
3939
Event handlers are processed in the same order that they were attached.
4040

4141

42-
Properties of settings object
43-
-----------------------
42+
## Properties of settings object
43+
4444
The settings object can contain the following properties:
4545

4646
- **id?** - (*string | number*) - the id of the event handler.

docs/api/method/getclosestworktime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ If the [work_time](api/config/work_time.md) option is disabled, the method retur
4141
- Besides, the method can be called directly from a [calendar object](api/other/calendar.md).
4242

4343

44-
Configuration object properties
45-
---------------------------------------
44+
## Configuration object properties
45+
4646

4747
The configuration object can contain the following properties:
4848

docs/api/method/gettask.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ const targetLinks = taskObj.$target; //-> ["l5","l8"] - ids of coming-into
5151
~~~
5252

5353

54-
Error
55-
-----------
54+
## Error
55+
5656

5757
The **getTask** method expects a task with a required "id" is loaded into Gantt. Therefore, if no task with this "id" is found, the method will produce an error message: "Task not found id = ID".
5858

docs/api/method/setworktime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ The default working time is the following:
6262

6363
The method is used to alter the default settings.
6464

65-
Configuration object properties
66-
---------------------------------------
65+
## Configuration object properties
66+
6767

6868
The configuration object can contain the following properties:
6969

docs/api/method/unsetworktime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ added in version 4.1
3838
- Besides, the method can be called directly from a [calendar object](api/other/calendar.md).
3939

4040

41-
Configuration object properties
42-
---------------------------------------
41+
## Configuration object properties
42+
4343

4444
The configuration object can contain the following properties:
4545

docs/faq.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ title: "FAQ"
33
sidebar_label: "FAQ"
44
---
55

6-
FAQ
7-
==============
6+
# FAQ
7+
8+
9+
## How to open samples
810

9-
How to open samples
10-
---------------------
1111

1212
The distributive of the component includes a demo backend app that can be used to run samples locally.
1313
The app requires [Node.js](https://nodejs.org/en/) and uses in-memory storage for demos which supposed to store data on the backend (i.e. no database setup is needed).
@@ -58,8 +58,8 @@ When you open an example from a web server, the URL will look like this (*http:/
5858
**http://localhost/gantt-eval/samples/11_resources/09_resource_histogram.html**
5959

6060

61-
The Gantt chart isn't rendered correctly
62-
-----------------------------------------
61+
## The Gantt chart isn't rendered correctly
62+
6363

6464
If the Gantt chart wasn't rendered on the page properly, please, check a CSS style for the chart's container - it must have a valid size in pixels or percents.
6565

@@ -77,8 +77,8 @@ html, body{
7777
~~~
7878

7979

80-
The Gantt chart isn't rendered in Internet Explorer correctly
81-
---------------------------------------------------------
80+
## The Gantt chart isn't rendered in Internet Explorer correctly
81+
8282

8383
If the Gantt chart wasn't rendered on the page properly only in the Internet Explorer browser, please, make sure that your page uses a full DOCTYPE declaration.
8484
dhtmlxGantt can work correctly in the standard modes of IE6, IE7 and IE8 but isn't purposed to be used with the quirks modes of IE.
@@ -89,8 +89,8 @@ For example, HTML5 DOCTYPE is:
8989
<!DOCTYPE html>
9090
~~~
9191

92-
An error alert appears in the right top corner
93-
-----------------------------------------
92+
## An error alert appears in the right top corner
93+
9494

9595
![error_alert](/img/error_alert.png)
9696

@@ -106,8 +106,8 @@ gantt.config.show_errors = false;
106106
~~~
107107

108108

109-
Gantt doesn't show anything
110-
--------------------------
109+
## Gantt doesn't show anything
110+
111111

112112
There are two most obvious scenarios:
113113

@@ -119,8 +119,8 @@ or
119119

120120
Read the [Troubleshooting Backend Integration Issues](guides/troubleshooting.md) article that gives instructions on how to identify the reasons of the problems.
121121

122-
How to include the last day of the task into the duration
123-
----------------------------------------------------------
122+
## How to include the last day of the task into the duration
123+
124124

125125
You may notice, that when the date is specified in days without an hour-minute part and the start and end dates are the same, the duration of the task will be calculated as 0 days not 1 day.
126126

@@ -146,8 +146,8 @@ console.log(gantt.getTask(1).duration);
146146

147147
By default, the last day of the task is excluded from the duration of the task but there is the ability to change the default behavior and include the last day into the duration. For more details, check the [Task end date display & Inclusive end dates](guides/loading.md#taskenddatedisplayampinclusiveenddates) article.
148148

149-
Cyclic reference error
150-
-----------------------
149+
## Cyclic reference error
150+
151151

152152
If you pass incorrect data to the Gantt, its tree-like structure becomes cyclic which causes the cyclic reference error.
153153

@@ -167,8 +167,8 @@ Task #2 cannot be a parent for itself.
167167

168168
"Task #4" is specified as a parent for "Task #1". But at the same time "Task #4" is also a child of "Task #1".
169169

170-
Evaluation period has expired
171-
------------------------------
170+
## Evaluation period has expired
171+
172172

173173
If you have installed a licensed PRO version of the Gantt chart but still see the messages that the evaluation period has expired, it means that there is the Trial version somewhere in your application. Only the trial version has the functionality to show the popup message about the expired trial period.
174174

docs/guides/accessibility.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: "Accessibility"
33
sidebar_label: "Accessibility"
44
---
55

6-
Accessibility
7-
=================
6+
# Accessibility
7+
88

99
[Accessibility](https://www.w3.org/WAI/fundamentals/accessibility-intro/) is an important and necessary standard for modern web applications.
1010
There's a set of various techniques that allow making an application or a web site handier to use or work with.
@@ -15,8 +15,8 @@ To make an easier access and interaction with DHTMLX Gantt for people with disab
1515
- Keyboard Navigation
1616
- High-Contrast Theme
1717

18-
WAI-ARIA Attributes
19-
----------------------
18+
## WAI-ARIA Attributes
19+
2020

2121
DHTMLXGantt provides WAI-ARIA support that implies the use of special attributes in the component's markup.
2222
These are additional attributes which make the component recognizable for screen readers.
@@ -29,8 +29,8 @@ WAI-ARIA attributes in Gantt are enabled by default, to disable them you can use
2929
gantt.config.wai_aria_attributes = true;
3030
~~~
3131

32-
Keyboard Navigation
33-
-------------------
32+
## Keyboard Navigation
33+
3434

3535
This technique implies providing access to all functionality of an application via the corresponding keys and key combinations
3636
instead of navigating through an application with a mouse pointer.

docs/guides/advanced-dnd.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: "Creating/Selecting Tasks with DnD"
33
sidebar_label: "Creating/Selecting Tasks with DnD"
44
---
55

6-
Creating/Selecting Tasks with DnD
7-
======================================
6+
# Creating/Selecting Tasks with DnD
7+
88

99
dhtmlxGantt library provides an extension that includes advanced drag-n-drop functionality while working with tasks in the timeline.
1010

@@ -87,8 +87,8 @@ Note that the event handlers can be added just for an existing element. Thus you
8787
the elements won't have been created yet.
8888
:::
8989

90-
Creating tasks with drag-n-drop
91-
---------------------------
90+
## Creating tasks with drag-n-drop
91+
9292

9393
You can create tasks with drag-n-drop right on the timeline by clicking in an empty place to set the start date of a task and dragging to the right to set its duration.
9494

@@ -122,13 +122,13 @@ function onDragEnd(startPoint,endPoint,startDate,endDate,tasksBetweenDates,tasks
122122
[Create new tasks by Drag and Drop](https://docs.dhtmlx.com/gantt/samples/02_extensions/24_click_drag.html)
123123

124124

125-
Setting time for unscheduled tasks
126-
------------------------
125+
## Setting time for unscheduled tasks
126+
127127

128128
The **click_drag** extension allows setting time for [unscheduled tasks](guides/unscheduled-tasks.md) with drag-n-drop.
129129

130-
Selecting tasks with drag-n-drop
131-
-------------------------------
130+
## Selecting tasks with drag-n-drop
131+
132132

133133
It is possible to select tasks with drag-n-drop in several modes: in dates, rows, or in bounds.
134134

@@ -176,8 +176,8 @@ function onDragEnd(startPoint,endPoint,startDate,endDate,tasksBetweenDates,tasks
176176
[Select multiple tasks by Drag and Drop](https://docs.dhtmlx.com/gantt/samples/02_extensions/25_click_drag_select_by_drag.html)
177177

178178

179-
Creating parts of split tasks
180-
-------------------------
179+
## Creating parts of split tasks
180+
181181
:::info
182182
This functionality is available in the PRO Edition only.
183183
:::

docs/guides/all.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: "Gantt for Frameworks"
33
sidebar_label: "Gantt for Frameworks"
44
---
55

6-
Gantt for Frameworks
7-
=====================
6+
# Gantt for Frameworks
7+
88

99
- [React Gantt](integrations/react.md)
1010
- [Angular Gantt](guides/angular.md)

docs/guides/angular.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: "Angular Gantt"
33
sidebar_label: "Angular Gantt"
44
---
55

6-
Angular Gantt
7-
==================
6+
# Angular Gantt
7+
88

99
:::note
1010
Currently, there is no native Angular component for DHTMLX Gantt.

0 commit comments

Comments
 (0)