Skip to content

Commit c250c75

Browse files
Tried to fix broken links in the translations, but I just don't care anymore.
I've spent 3 hours trying to move ~21 files to their parent directory. 1. Why the hell did we have a "Detailed-Reference" section? Its moronic. 2. Why are the translations making life harder? We should consider moving these to a separate repo I have turned off build errors on broken links. The translated docs will have broken links, but I'm not wasting any more time on this, as its taken far too long to try and resolve the problems.
1 parent a25f3aa commit c250c75

Some content is hidden

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

51 files changed

+137
-137
lines changed

docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const config = {
1515
baseUrl: '/',
1616
organizationName: 'avaloniaui', // Usually your GitHub org/user name.
1717
projectName: 'avalonia', // Usually your repo name.
18-
onBrokenLinks: 'throw',
19-
onBrokenMarkdownLinks: 'throw',
18+
onBrokenLinks: 'warn',
19+
onBrokenMarkdownLinks: 'warn',
2020
i18n: {
2121
defaultLocale: 'en',
2222
locales: ['en', 'ru', 'zh-Hans'],

i18n/ru/docusaurus-plugin-content-docs/current/basics/user-interface/controls/builtin-controls.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,32 @@ Here are some of the more commonly-used Avalonia controls, organised by category
66

77
|Control|Description|
88
|:----|:----|
9-
|[Border](../../../reference/controls/detailed-reference/border.md)|Decorates a single child with a border and background.|
10-
|[Canvas](../../../reference/controls/canvas.md)|Displays child controls at specified positions.|
11-
|[Dock Panel](../../../reference/controls/dockpanel.md)|Arranges child controls along specified edges (top, bottom, left, right) with one filling any remaining space.|
12-
|[Expander](../../../reference/controls/expander.md)|Has a header area (always visible) and a collapsible content section (single child).|
13-
|[Grid](../../../reference/controls/grid/README.md)|Arranges child controls in the cells of a grid, positioned by row and column. The cells can span rows and columns.|
14-
|[Grid Splitter](../../../reference/controls/gridsplitter.md)|Can be added to a grid to allow the user to resize rows or columns at runtime.|
15-
|[Panel](../../../reference/controls/panel.md)|Stacks child controls on top of one another.|
16-
|[Relative Panel](../../../reference/controls/relativepanel.md)|Allows multiple child controls. The position and alignment of the child controls can be specified in relation to the panel itself, or in relation to other child controls. The size of child controls can be specified, or calculated from relations and alignments.|
17-
|[Scroll Viewer](../../../reference/controls/scrollviewer.md)|Adds scroll bars and scrolling behaviour if the (single) child is larger than the space available.|
18-
|[Split View](../../../reference/controls/splitview.md)|Adds a collapsible pane to the edge of its (single child) content zone.|
19-
|[Stack Panel](../../../reference/controls/stackpanel.md)|Allows multiple child controls, arranged in sequence, horizontally or vertically.|
20-
|[Tab Control](../../../reference/controls/detailed-reference/tabcontrol.md)|The tab control allows you to sub-divide a view into tab items.|
21-
|[Uniform Grid](../../../reference/controls/detailed-reference/uniform-grid.md)|Allows multiple child controls, arranged in a grid with cells of uniform column and row size.|
22-
|[Wrap Panel](../../../reference/controls/detailed-reference/wrappanel.md)|Arranges child controls in sequence from left to right, while they fit in the width. Starts a new line when there is no space left.|
9+
|[Border](../../../reference/controls/border)|Decorates a single child with a border and background.|
10+
|[Canvas](../../../reference/controls/canvas)|Displays child controls at specified positions.|
11+
|[Dock Panel](../../../reference/controls/dockpanel)|Arranges child controls along specified edges (top, bottom, left, right) with one filling any remaining space.|
12+
|[Expander](../../../reference/controls/expander)|Has a header area (always visible) and a collapsible content section (single child).|
13+
|[Grid](../../../reference/controls/grid/README)|Arranges child controls in the cells of a grid, positioned by row and column. The cells can span rows and columns.|
14+
|[Grid Splitter](../../../reference/controls/gridsplitter)|Can be added to a grid to allow the user to resize rows or columns at runtime.|
15+
|[Panel](../../../reference/controls/panel)|Stacks child controls on top of one another.|
16+
|[Relative Panel](../../../reference/controls/relativepanel)|Allows multiple child controls. The position and alignment of the child controls can be specified in relation to the panel itself, or in relation to other child controls. The size of child controls can be specified, or calculated from relations and alignments.|
17+
|[Scroll Viewer](../../../reference/controls/scrollviewer)|Adds scroll bars and scrolling behaviour if the (single) child is larger than the space available.|
18+
|[Split View](../../../reference/controls/splitview)|Adds a collapsible pane to the edge of its (single child) content zone.|
19+
|[Stack Panel](../../../reference/controls/stackpanel)|Allows multiple child controls, arranged in sequence, horizontally or vertically.|
20+
|[Tab Control](../../../reference/controls/tabcontrol)|The tab control allows you to sub-divide a view into tab items.|
21+
|[Uniform Grid](../../../reference/controls/uniform-grid)|Allows multiple child controls, arranged in a grid with cells of uniform column and row size.|
22+
|[Wrap Panel](../../../reference/controls/wrappanel)|Arranges child controls in sequence from left to right, while they fit in the width. Starts a new line when there is no space left.|
2323

2424
## Buttons
2525

2626
|Control|Description|
2727
|:----|:----|
28-
|[Button](../../../reference/controls/buttons/button.md)|The basic button control - can display text, an icon or both. Has standard 'click' behavior.|
29-
|[Repeat Button](../../../reference/controls/buttons/repeatbutton.md)|A button that raises its click event repeatedly when it is pressed and held.|
30-
|[Radio Button](../../../reference/controls/buttons/radiobutton.md)|A button that has a selected state. It can be placed in a group so that selection of one button deselects all the others in the group.|
31-
|[Toggle Button](../../../reference/controls/buttons/togglebutton.md)|A button that has a selected state and a unselected state. Subsequent clicks 'toggle' this state. A 'checked' pseudo class allows different styles to be allocated to the selected and unselected states.|
32-
|[Button Spinner](../../../reference/controls/buttons/buttonspinner.md)|A control with two spin buttons and a content zone.|
33-
|[Split Button](../../../reference/controls/buttons/splitbutton.md)|This functions as a button with primary and secondary parts that can be pressed independently. The primary part behaves like standard button, and the secondary part opens a flyout with additional actions.|
34-
|[Toggle Split Button](../../../reference/controls/buttons/togglesplitbutton.md)|This functions as a button with primary and secondary parts that can be pressed independently. The primary part behaves like toggle button, and the secondary part opens a flyout with additional actions.|
28+
|[Button](../../../reference/controls/buttons/button)|The basic button control - can display text, an icon or both. Has standard 'click' behavior.|
29+
|[Repeat Button](../../../reference/controls/buttons/repeatbutton)|A button that raises its click event repeatedly when it is pressed and held.|
30+
|[Radio Button](../../../reference/controls/buttons/radiobutton)|A button that has a selected state. It can be placed in a group so that selection of one button deselects all the others in the group.|
31+
|[Toggle Button](../../../reference/controls/buttons/togglebutton)|A button that has a selected state and a unselected state. Subsequent clicks 'toggle' this state. A 'checked' pseudo class allows different styles to be allocated to the selected and unselected states.|
32+
|[Button Spinner](../../../reference/controls/buttons/buttonspinner)|A control with two spin buttons and a content zone.|
33+
|[Split Button](../../../reference/controls/buttons/splitbutton)|This functions as a button with primary and secondary parts that can be pressed independently. The primary part behaves like standard button, and the secondary part opens a flyout with additional actions.|
34+
|[Toggle Split Button](../../../reference/controls/buttons/togglesplitbutton)|This functions as a button with primary and secondary parts that can be pressed independently. The primary part behaves like toggle button, and the secondary part opens a flyout with additional actions.|
3535

3636
## Repeating Data Controls
3737

@@ -40,43 +40,43 @@ These controls display repeating data, in either a tabular or list format:
4040
|Control|Description|
4141
|:----|:----|
4242
|[Data Grid](../../../reference/controls/datagrid)|Displays data in a customizable grid.|
43-
|[Items Control](../../../reference/controls/itemscontrol.md)|Displays a collection of items from a bound data source.|
44-
|[Items Repeater](../../../reference/controls/itemsrepeater.md)|Displays repeating data from a bound data source. It has both a layout template and a data template.|
45-
|[List Box](../../../reference/controls/listbox.md)|A control with items that can be selected.|
46-
|[Combo Box](../../../reference/controls/combobox.md)|A control with a drop-down list with items that can be selected.|
43+
|[Items Control](../../../reference/controls/itemscontrol)|Displays a collection of items from a bound data source.|
44+
|[Items Repeater](../../../reference/controls/itemsrepeater)|Displays repeating data from a bound data source. It has both a layout template and a data template.|
45+
|[List Box](../../../reference/controls/listbox)|A control with items that can be selected.|
46+
|[Combo Box](../../../reference/controls/combobox)|A control with a drop-down list with items that can be selected.|
4747

4848
## Text display and editing
4949

5050
|Control|Description|
5151
|:----|:----|
52-
|[Auto Complete Box](../../../reference/controls/autocompletebox.md)|A control that shows a text box for user input and a drop-down that contains possible matches based on what has been typed.|
53-
|[Text Block](../../../reference/controls/detailed-reference/textblock.md)|A control that displays a block of text. Read-only.|
54-
|[Text Box](../../../reference/controls/detailed-reference/textbox.md)|Used to display or edit text without formatting restrictions.|
55-
|[Masked Text Box](../../../reference/controls/maskedtextbox.md)|Used to display text in the format contained in a mask; or used to edit text using the format mask to prevent invalid user input.|
52+
|[Auto Complete Box](../../../reference/controls/autocompletebox)|A control that shows a text box for user input and a drop-down that contains possible matches based on what has been typed.|
53+
|[Text Block](../../../reference/controls/textblock)|A control that displays a block of text. Read-only.|
54+
|[Text Box](../../../reference/controls/textbox)|Used to display or edit text without formatting restrictions.|
55+
|[Masked Text Box](../../../reference/controls/maskedtextbox)|Used to display text in the format contained in a mask; or used to edit text using the format mask to prevent invalid user input.|
5656

5757
## Value selection
5858

5959
|Control|Type|Description|
6060
|:----|:----|:----|
61-
|[Check Box](../../../reference/controls/checkbox.md)|Boolean|True value presented as a check mark. Click interaction toggles the value. Has an option to display an 'unknown' value.|
62-
|[Slider](../../../reference/controls/slider.md)|Double|Relative value compared to a maximum and minimum value presented as the position along the length of the slider track of the slider button. Drag interaction on the slider button can alter the value between the maximum and minimum values. Keyboard and click interactions can also nudge the value.|
63-
|[Calendar](../../../reference/controls/detailed-reference/calendar)|DateTime|The calendar is a control for users to select dates or date ranges.|
64-
|[Calendar Date Picker](../../../reference/controls/detailed-reference/calendar/calendar-date-picker.md)|DateTime|An extension of the calendar control that includes a text box and button.|
61+
|[Check Box](../../../reference/controls/checkbox)|Boolean|True value presented as a check mark. Click interaction toggles the value. Has an option to display an 'unknown' value.|
62+
|[Slider](../../../reference/controls/slider)|Double|Relative value compared to a maximum and minimum value presented as the position along the length of the slider track of the slider button. Drag interaction on the slider button can alter the value between the maximum and minimum values. Keyboard and click interactions can also nudge the value.|
63+
|[Calendar](../../../reference/controls/calendar)|DateTime|The calendar is a control for users to select dates or date ranges.|
64+
|[Calendar Date Picker](../../../reference/controls/calendar/calendar-date-picker)|DateTime|An extension of the calendar control that includes a text box and button.|
6565
|[Color Picker](../../../reference/controls/colorpicker)|Color / HsvColor|The color picker supports user-selection and editing of colors using a spectrum, palette and component sliders. It also supports an optional alpha component, RGB or HSV color models and hexadecimal color values.|
66-
|[Date Picker](../../../reference/controls/datepicker.md)|DateTime|The date picker has three 'spinner' controls to allow the user to pick a date value.|
67-
|[Time Picker](../../../reference/controls/detailed-reference/timepicker.md)|TimeSpan|The time picker has three 'spinner' controls to allow the user to pick a time from hours, minutes and seconds.|
66+
|[Date Picker](../../../reference/controls/datepicker)|DateTime|The date picker has three 'spinner' controls to allow the user to pick a date value.|
67+
|[Time Picker](../../../reference/controls/timepicker)|TimeSpan|The time picker has three 'spinner' controls to allow the user to pick a time from hours, minutes and seconds.|
6868

6969
## Displaying images
7070

7171
|Control|Description|
7272
|:----|:----|
73-
|[Image](../../../reference/controls/image.md)|Displays a bitmap or vector image.|
74-
|[Path Icon](../../../reference/controls/detailed-reference/path-icon.md)|Draws a vector image using the current `Foreground`.|
73+
|[Image](../../../reference/controls/image)|Displays a bitmap or vector image.|
74+
|[Path Icon](../../../reference/controls/path-icon)|Draws a vector image using the current `Foreground`.|
7575

7676
## Menus and Popups
7777

7878
|Control|Description|
7979
|:----|:----|
80-
|[Menu](../../../reference/controls/menu.md)|Displays an application menu.|
81-
|[Flyouts](../../../reference/controls/flyouts.md)|Attaches a popup or a context menu to a control.|
82-
|[Tool Tip](../../../reference/controls/detailed-reference/tooltip.md)|Displays a tool tip when a control is hovered.|
80+
|[Menu](../../../reference/controls/menu)|Displays an application menu.|
81+
|[Flyouts](../../../reference/controls/flyouts)|Attaches a popup or a context menu to a control.|
82+
|[Tool Tip](../../../reference/controls/tooltip)|Displays a tool tip when a control is hovered.|

i18n/ru/docusaurus-plugin-content-docs/current/basics/user-interface/controls/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ These are just a few examples of the many controls available in Avalonia UI. Eac
2020
To get started with using controls in Avalonia UI, you can refer to the documentation for each control type. The documentation provides detailed explanations, examples, and code snippets to help you understand and utilize the controls effectively.
2121

2222
- [Button Control Documentation](../../../reference/controls/buttons/button)
23-
- [Text Box Control Documentation](../../../reference/controls/detailed-reference/textbox)
24-
- [Label Control Documentation](../../../reference/controls/detailed-reference/label)
23+
- [Text Box Control Documentation](../../../reference/controls/textbox)
24+
- [Label Control Documentation](../../../reference/controls/label)
2525
- [Checkbox Control Documentation](../../../reference/controls/checkbox)
2626
- [Slider Control Documentation](../../../reference/controls/slider)
2727
- [List Box Control Documentation](../../../reference/controls/listbox)

i18n/ru/docusaurus-plugin-content-docs/current/reference/controls/detailed-reference/tabstrip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: REFERENCE - Built-in Controls
33
---
44

5-
import TabStripNavigation from '/img/reference/controls/detailed-reference/tabstrip/tabstrip-navigation.gif';
5+
import TabStripNavigation from '/img/reference/controls/tabstrip/tabstrip-navigation.gif';
66

77
# Tab Strip
88

i18n/ru/docusaurus-plugin-content-docs/current/reference/controls/detailed-reference/textblock.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ title: TextBlock
33
description: REFERENCE - Built-in Controls
44
---
55

6-
import TextBlockBasicScreenshot from '/img/reference/controls/detailed-reference/textblock/textblock-basic.png';
7-
import TextBlockRunScreenshot from '/img/reference/controls/detailed-reference/textblock/textblock-run.png';
8-
import TextBlockSpanScreenshot from '/img/reference/controls/detailed-reference/textblock/textblock-span.png';
9-
import TextBlockUIContainerScreenshot from '/img/reference/controls/detailed-reference/textblock/textblock-uicontainer.png';
6+
import TextBlockBasicScreenshot from '/img/reference/controls/textblock/textblock-basic.png';
7+
import TextBlockRunScreenshot from '/img/reference/controls/textblock/textblock-run.png';
8+
import TextBlockSpanScreenshot from '/img/reference/controls/textblock/textblock-span.png';
9+
import TextBlockUIContainerScreenshot from '/img/reference/controls/textblock/textblock-uicontainer.png';
1010

1111
# TextBlock
1212

i18n/ru/docusaurus-plugin-content-docs/current/reference/controls/detailed-reference/textbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: REFERENCE - Built-in Controls
33
---
44

5-
import TextBoxEntryScreenshot from '/img/reference/controls/detailed-reference/textbox/textbox-entry.gif';
5+
import TextBoxEntryScreenshot from '/img/reference/controls/textbox/textbox-entry.gif';
66

77
# Text Box
88

i18n/ru/docusaurus-plugin-content-docs/current/reference/controls/detailed-reference/timepicker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: REFERENCE - Built-in Controls
33
---
44

5-
import TimePickerScreenshot from '/img/reference/controls/detailed-reference/timepicker/timepicker.gif';
5+
import TimePickerScreenshot from '/img/reference/controls/timepicker/timepicker.gif';
66

77
# Time Picker
88

i18n/ru/docusaurus-plugin-content-docs/current/reference/controls/detailed-reference/tooltip.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
description: REFERENCE - Built-in Controls
33
---
44

5-
import ToolTipTextHoverScreenshot from '/img/reference/controls/detailed-reference/tooltip/tooltip-text-hover.gif';
6-
import ToolTipContentScreenshot from '/img/reference/controls/detailed-reference/tooltip/tooltip-content-hover.gif';
5+
import ToolTipTextHoverScreenshot from '/img/reference/controls/tooltip/tooltip-text-hover.gif';
6+
import ToolTipContentScreenshot from '/img/reference/controls/tooltip/tooltip-content-hover.gif';
77

88
# Tool Tip
99

i18n/ru/docusaurus-plugin-content-docs/current/reference/controls/detailed-reference/transitioningcontentcontrol.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
description: REFERENCE - Built-in Controls
33
---
44

5-
import TransitioningContentControlFadeScreenshot from '/img/reference/controls/detailed-reference/transitioningcontentcontrol/transitioningcontentcontrol-fade.webp';
6-
import TransitioningContentControlSlideScreenshot from '/img/reference/controls/detailed-reference/transitioningcontentcontrol/transitioningcontentcontrol-slide.webp';
5+
import TransitioningContentControlFadeScreenshot from '/img/reference/controls/transitioningcontentcontrol/transitioningcontentcontrol-fade.webp';
6+
import TransitioningContentControlSlideScreenshot from '/img/reference/controls/transitioningcontentcontrol/transitioningcontentcontrol-slide.webp';
77

88
# Transitioning Content Control
99

i18n/ru/docusaurus-plugin-content-docs/current/reference/controls/detailed-reference/tray-icon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: REFERENCE - Built-in Controls
33
---
44

5-
import TrayIconScreenshot from '/img/reference/controls/detailed-reference/trayicon/trayicon.gif';
5+
import TrayIconScreenshot from '/img/reference/controls/trayicon/trayicon.gif';
66

77
# Tray Icon
88

i18n/ru/docusaurus-plugin-content-docs/current/reference/controls/detailed-reference/treedatagrid/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
description: REFERENCE - Built-in Controls
33
---
44

5-
import TreeDataGridFilesScreenshot from '/img/reference/controls/detailed-reference/treedatagrid/treedataggrid-files.png';
6-
import TreeDataGridCountriesScreenshot from '/img/reference/controls/detailed-reference/treedatagrid/treedataggrid-countries.png';
7-
import TreeDataGridNuGetScreenshot from '/img/reference/controls/detailed-reference/treedatagrid/treedataggrid-nuget.png';
5+
import TreeDataGridFilesScreenshot from '/img/reference/controls/treedatagrid/treedataggrid-files.png';
6+
import TreeDataGridCountriesScreenshot from '/img/reference/controls/treedatagrid/treedataggrid-countries.png';
7+
import TreeDataGridNuGetScreenshot from '/img/reference/controls/treedatagrid/treedataggrid-nuget.png';
88

99
# Tree Data Grid
1010

i18n/ru/docusaurus-plugin-content-docs/current/reference/controls/detailed-reference/treedatagrid/creating-a-flat-treedatagrid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: REFERENCE - Built-in Controls
33
---
44

5-
import FlatTreeDataGridSourceScreenshot from '/img/reference/controls/detailed-reference/treedatagrid/treedatagrid-flat.gif';
5+
import FlatTreeDataGridSourceScreenshot from '/img/reference/controls/treedatagrid/treedatagrid-flat.gif';
66

77
# Flat Tree Data Grid
88

i18n/ru/docusaurus-plugin-content-docs/current/reference/controls/detailed-reference/treedatagrid/creating-a-hierarchical-treedatagrid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: REFERENCE - Built-in Controls
33
---
44

5-
import HierarchicalTreeDataGridSourceScreenshot from '/img/reference/controls/detailed-reference/treedatagrid/treedatagrid-hierarchical.gif';
5+
import HierarchicalTreeDataGridSourceScreenshot from '/img/reference/controls/treedatagrid/treedatagrid-hierarchical.gif';
66

77
# Hierarchical Tree Data Grid
88

0 commit comments

Comments
 (0)