Skip to content

Commit 317f291

Browse files
committed
[dev] add images to the static folder, adjust links to images and docs
1 parent d515d97 commit 317f291

33 files changed

Lines changed: 95 additions & 95 deletions

docs/api/configs/menu_config.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ The callback should return one of the following values:
101101
]
102102
}
103103
~~~
104-
![Context menu item](../../assets/menu_item.png)
104+
![Context menu item](/assets/menu_item.png)
105105
</details>
106106

107107
- `"separator"` - the line for separating menu items
@@ -147,7 +147,7 @@ The callback should return one of the following values:
147147
}
148148
~~~
149149

150-
![Context menu item](../../assets/menu_priorities.png)
150+
![Context menu item](/assets/menu_priorities.png)
151151
</details>
152152

153153
- `"datepicker"` - the menu item intended for setting dates
@@ -166,7 +166,7 @@ The callback should return one of the following values:
166166
}
167167
~~~
168168

169-
![Context menu item](../../assets/menu_datepicker.png)
169+
![Context menu item](/assets/menu_datepicker.png)
170170
</details>
171171

172172
- `"user"` - the menu item intended for assigning users to tasks
@@ -187,7 +187,7 @@ The callback should return one of the following values:
187187
}
188188
~~~
189189

190-
![Context menu item](../../assets/menu_users.png)
190+
![Context menu item](/assets/menu_users.png)
191191
</details>
192192

193193
### Example

docs/guides/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ You can also configure the mode of [hiding completed tasks](#mode-of-hiding-comp
2222

2323
You can change the type of the counter which renders the progress of completion of the child tasks.
2424

25-
![counter](../assets/counter.png)
25+
![counter](/assets/counter.png)
2626

2727
By default, each parent task is equipped with the counter whose value is shown as a ratio of completed child tasks and the total number of the child tasks.
2828

@@ -101,11 +101,11 @@ const list = new ToDo("#root", {
101101

102102
If you specify a [due date](/api/configs/tasks_config/) for a task, the due date validation will track the completion of the task. The due date of the task has green color until the task becomes Overdue.
103103

104-
![due_date](../assets/due_date.png)
104+
![due_date](/assets/due_date.png)
105105

106106
The dates of the tasks which have not been completed on the due date are highlighted in red.
107107

108-
![due_date](../assets/overdue_task.png)
108+
![due_date](/assets/overdue_task.png)
109109

110110
This validation works by default.
111111

docs/guides/integration_with_angular.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,6 @@ platformBrowserDynamic()
363363

364364
After that, you can start the app to see To Do List loaded with data on a page.
365365

366-
![To Do List initialization](../assets/trial_todolist.png)
366+
![To Do List initialization](/assets/trial_todolist.png)
367367

368368
Now you know how to integrate DHTMLX To Do List with Angular. You can customize the code according to your specific requirements. The final example you can find on [**GitHub**](https://github.com/DHTMLX/angular-todolist-demo).

docs/guides/integration_with_react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,6 @@ export default App;
327327

328328
After that, you can start the app to see To Do List loaded with data on a page.
329329

330-
![To Do List initialization](../assets/trial_todolist.png)
330+
![To Do List initialization](/assets/trial_todolist.png)
331331

332332
Now you know how to integrate DHTMLX To Do List with React. You can customize the code according to your specific requirements. The final example you can find on [**GitHub**](https://github.com/DHTMLX/react-todolist-demo).

docs/guides/integration_with_svelte.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,6 @@ const { users, tasks, projects } = getData();
318318

319319
After that, you can start the app to see To Do List loaded with data on a page.
320320

321-
![To Do List initialization](../assets/trial_todolist.png)
321+
![To Do List initialization](/assets/trial_todolist.png)
322322

323323
Now you know how to integrate DHTMLX To Do List with Svelte. You can customize the code according to your specific requirements. The final example you can find on [**GitHub**](https://github.com/DHTMLX/svelte-todolist-demo).

docs/guides/integration_with_vue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,6 @@ export default {
339339

340340
After that, you can start the app to see To Do List loaded with data on a page.
341341

342-
![To Do List initialization](../assets/trial_todolist.png)
342+
![To Do List initialization](/assets/trial_todolist.png)
343343

344344
Now you know how to integrate DHTMLX To Do List with Vue. You can customize the code according to your specific requirements. The final example you can find on [**GitHub**](https://github.com/DHTMLX/vue-todolist-demo).

docs/guides/multiselection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In this article we'll discuss the details on how to initialize To Do List with s
1212

1313
We'll consider how to perform bulk operations over the selected tasks and provide you with a list of available operations. And, finally, we'll show you the ways of resetting selection.
1414

15-
![Multiselection](../assets/multiselection.png)
15+
![Multiselection](/assets/multiselection.png)
1616

1717
:::info
1818
Learn how to [select](../../#selecting-tasks) and [manage multiple tasks](../../#managing-multiple-tasks) via UI

docs/guides/task_users.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const list = new ToDo("#root", {
5050

5151
As a result, the assigned people will be displayed to the right of the task.
5252

53-
![users](../assets/users.png)
53+
![users](/assets/users.png)
5454

5555
To view the list of people assigned to a task, click on the people avatars. To close the opened list, click outside it.
5656

docs/how_to_start.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: You can learn about how to start working with DHTMLX To Do List in
88

99
This tutorial will teach you how to create a fully featured To Do List and add it into your web application.
1010

11-
![how_to_start](assets/todolist.png)
11+
![how_to_start](/assets/todolist.png)
1212

1313
After completing all the steps below, you will get a ready-to-use To Do List which you can easily configure to suite your needs and efficiently use in real life.
1414

@@ -101,7 +101,7 @@ You don't need this step if you use the **new todo.ToDo()** and **new todo.Toolb
101101
Toolbar is an optional part of the To Do List interface. To create a To Do List without the Toolbar, you can specify only one DIV container and initialize List via the **new ToDo()** constructor
102102
:::
103103

104-
For more information about initialization of To Do List read the [Initialization](../guides/initialization/) article.
104+
For more information about initialization of To Do List read the [Initialization](/guides/initialization/) article.
105105

106106
## Step 3. Load data into To Do List
107107

@@ -111,7 +111,7 @@ As you can see, we've initialized the To Do List but it is still empty. At this
111111
You can skip this step if you want to display an empty component on the page
112112
:::
113113

114-
At first, you should prepare data to load into the component. The data can include the following sets of information: [**tasks**](../api/configs/tasks_config/), [**projects**](../api/configs/projects_config/), [**users**](../api/configs/users_config/), [**tags**](../api/configs/tags_config/), and [**activeProject**](../api/configs/activeproject_config/)
114+
At first, you should prepare data to load into the component. The data can include the following sets of information: [**tasks**](/api/configs/tasks_config/), [**projects**](/api/configs/projects_config/), [**users**](/api/configs/users_config/), [**tags**](/api/configs/tags_config/), and [**activeProject**](/api/configs/activeproject_config/)
115115

116116
The most convenient way is to prepare data in a separate file, for example:
117117

@@ -214,15 +214,15 @@ Now, you can populate the To Do List with data. For that, specify the related pr
214214
</html>
215215
~~~
216216

217-
You can find more information on loading data into To Do List in the [Data loading](../guides/loading_data/) article.
217+
You can find more information on loading data into To Do List in the [Data loading](/guides/loading_data/) article.
218218

219219
## Step 4. Configure To Do List
220220

221221
Now, you can define the desired configuration of the To Do list.
222222

223223
As you already know, To Do List consists of two separate interfaces: List and Toolbar. And each of them possesses a separate list of configuration options:
224224

225-
- check the list of [To Do List properties](../api/overview/configs_overview/)
225+
- check the list of [To Do List properties](/api/overview/configs_overview/)
226226
- check the list of [Toolbar properties](/category/toolbar-properties/)
227227

228228
As an example, let's enable the *readonly* mode for your To Do List, specify an active project, and show only the search bar in the toolbar:

docs/overview.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ The interface of the To Do List component consists of two parts: [Toolbar](#tool
1919

2020
- a **combo** control for switching between projects, and searching for the necessary project
2121

22-
![toolbar](assets/toolbar.png)
22+
![toolbar](/assets/toolbar.png)
2323

2424
- a **search bar** for searching for the needed tasks
2525

26-
![toolbar](assets/search_field.png)
26+
![toolbar](/assets/search_field.png)
2727

2828
- a **menu** with a set of controls which allow you to:
2929
- sort tasks in the ascending/descending order by the following criteria:
@@ -36,17 +36,17 @@ The interface of the To Do List component consists of two parts: [Toolbar](#tool
3636
- hide/show completed tasks
3737
- add a new project, rename or delete a currently active project
3838

39-
![toolbar](assets/project_menu.png)
39+
![toolbar](/assets/project_menu.png)
4040

4141
:::info
42-
You can change the toolbar structure by adding custom elements or changing the order of the built-in controls. Read more in the [**Configuration**](guides/configuration.md#toolbar) and [**Customization**](guides/customization.md#toolbar) sections.
42+
You can change the toolbar structure by adding custom elements or changing the order of the built-in controls. Read more in the [**Configuration**](/guides/configuration/#toolbar) and [**Customization**](/guides/customization/#toolbar) sections.
4343
:::
4444

4545
### List
4646

47-
The **list of tasks** is the main part of the To Do List interface intended for adding new tasks, editing, or deleting the existing ones. You can easily configure the appearance of tasks. Read more in the [Configuration](guides/configuration.md) section.
47+
The **list of tasks** is the main part of the To Do List interface intended for adding new tasks, editing, or deleting the existing ones. You can easily configure the appearance of tasks. Read more in the [Configuration](/guides/configuration/) section.
4848

49-
![list](assets/list.png)
49+
![list](/assets/list.png)
5050

5151
## Selecting tasks
5252

@@ -79,7 +79,7 @@ You can manage the selected task both via the context menu or keyboard navigatio
7979

8080
The **context menu** of a task contains a set of items and sub-items and looks like this:
8181

82-
![context_menu_of_task](assets/task_context_menu.png)
82+
![context_menu_of_task](/assets/task_context_menu.png)
8383

8484
### Adding a new task
8585

@@ -93,7 +93,7 @@ The **context menu** of a task contains a set of items and sub-items and looks l
9393
### Editing a task
9494

9595
- To edit a task, double-click on the task record in the list or press `Ctrl (Cmd) + Enter`. Then, make the changes and press `Enter`
96-
> It is possible to enter text, numbers, hashtags, dates. For more details, read [Supported formats of data](guides/inline_editing.md#supported-formats-of-data).
96+
> It is possible to enter text, numbers, hashtags, dates. For more details, read [Supported formats of data](/guides/inline_editing/#supported-formats-of-data).
9797
9898
- To mark a task as complete/incomplete, click on the checkbox to the left of the task or press `Space`
9999
- To collapse/expand a task with subtasks, click on the arrow icon to the left of the task or press `Arrow Left`/ `Arrow Right`
@@ -124,7 +124,7 @@ After you have selected [multiple tasks](#selecting-multiple-tasks), you can per
124124

125125
- to open a **context menu** for the selected tasks
126126

127-
![context_menu_of_tasks](assets/tasks_context_menu.png)
127+
![context_menu_of_tasks](/assets/tasks_context_menu.png)
128128

129129
- to delete tasks by pressing `Backspace`/`Delete`
130130
- to copy tasks via `Ctrl (Cmd) + C` and paste them via `Ctrl (Cmd) + V`. The tasks which are selected in the chaotic order will be structured depending on the structure of the data
@@ -136,9 +136,9 @@ After you have selected [multiple tasks](#selecting-multiple-tasks), you can per
136136
- to mark tasks as complete/incomplete by pressing `Space`
137137

138138
:::info
139-
Read the [**keyboard shortcuts**](api/events/keypressontodo_event.md#keyboard-shortcuts) section for more detail
139+
Read the [**keyboard shortcuts**](/api/events/keypressontodo_event/#keyboard-shortcuts) section for more detail
140140
:::
141141

142142
## What's next
143143

144-
Once you have a short overview of To Do List you are ready to learn how to display the component on the page. Follow the directions given in the [How to start](how_to_start/) article.
144+
Once you have a short overview of To Do List you are ready to learn how to display the component on the page. Follow the directions given in the [How to start](/how_to_start/) article.

0 commit comments

Comments
 (0)