Skip to content

Commit abfd0d9

Browse files
authored
chore: merge main into v13
chore: merge main into v13
2 parents 79eeb9d + 11c3637 commit abfd0d9

7 files changed

Lines changed: 84 additions & 10 deletions

File tree

packages/blockly/msg/json/uk.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,5 +351,17 @@
351351
"WORKSPACE_ARIA_LABEL": "Робоча область Blockly",
352352
"COLLAPSED_WARNINGS_WARNING": "Звернуті блоки містять попередження.",
353353
"DIALOG_OK": "Гаразд",
354-
"DIALOG_CANCEL": "Скасувати"
354+
"DIALOG_CANCEL": "Скасувати",
355+
"WINDOWS": "Windows",
356+
"MAC_OS": "macOS",
357+
"CHROME_OS": "ChromeOS",
358+
"LINUX": "Linux",
359+
"UNKNOWN": "Невідома",
360+
"CONTROL_KEY": "Ctrl",
361+
"COMMAND_KEY": "⌘ Command",
362+
"OPTION_KEY": "⌥ Option",
363+
"ALT_KEY": "Alt",
364+
"CUT_SHORTCUT": "Вирізати",
365+
"COPY_SHORTCUT": "Копіювати",
366+
"PASTE_SHORTCUT": "Вставити"
355367
}

packages/docs/docs/codelabs/getting-started/complete-code/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<link
1111
rel="stylesheet"
12-
href="https://code.getmdl.io/1.2.1/material.indigo-pink.min.css" />
12+
href="https://unpkg.com/material-design-lite@1.3.0/dist/material.indigo-pink.min.css" />
1313
<link rel="stylesheet" href="styles/index.css" />
1414
</head>
1515

packages/docs/docs/codelabs/getting-started/starter-code/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<link
1111
rel="stylesheet"
12-
href="https://code.getmdl.io/1.2.1/material.indigo-pink.min.css" />
12+
href="https://unpkg.com/material-design-lite@1.3.0/dist/material.indigo-pink.min.css" />
1313
<link rel="stylesheet" href="styles/index.css" />
1414
</head>
1515

packages/docs/docs/guides/create-custom-blocks/procedures/creating-custom-procedure-blocks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Blockly.Blocks['my_procedure_def'] = {
5454

5555
// Insertion markers reference the model of the original block.
5656
if (this.isInsertionMarker()) return;
57-
this.workpace.getProcedureMap().delete(model.getId());
57+
this.workspace.getProcedureMap().delete(model.getId());
5858
}
5959
}
6060
```

packages/docs/docusaurus.config.js

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ const config = {
7272
alt: 'Blockly Logo',
7373
src: 'images/logo.svg',
7474
srcDark: 'images/blockly-dark-theme-logo.png',
75+
href: 'https://www.blockly.com/',
7576
},
7677
items: [
7778
{
@@ -116,20 +117,60 @@ const config = {
116117
position: 'left',
117118
},
118119
{
119-
type: 'docSidebar',
120-
label: 'Codelabs',
121-
sidebarId: 'codelabsSidebar',
120+
type: 'dropdown',
121+
label: 'Tutorial',
122122
position: 'left',
123+
items: [
124+
{
125+
label: 'Codelabs',
126+
to: '/codelabs/',
127+
},
128+
{
129+
label: 'Samples',
130+
href: 'https://raspberrypifoundation.github.io/blockly-samples/',
131+
},
132+
],
123133
},
124134
{
125-
label: 'Samples',
126-
href: 'https://raspberrypifoundation.github.io/blockly-samples/',
127-
position: 'right',
135+
type: 'dropdown',
136+
label: 'Summits',
137+
position: 'left',
138+
items: [
139+
{
140+
label: 'Session Catalog',
141+
href: 'https://blockly.com/summit/home',
142+
},
143+
{
144+
label: 'Summit 2026',
145+
href: 'https://blockly.com/summit/2026/home',
146+
},
147+
],
148+
},
149+
{
150+
label: 'Team',
151+
href: 'https://blockly.com/team',
152+
position: 'left',
153+
},
154+
{
155+
type: 'dropdown',
156+
label: 'Accessibility',
157+
position: 'left',
158+
items: [
159+
{
160+
label: 'Accessibility',
161+
href: 'https://blockly.com/accessibility',
162+
},
163+
{
164+
label: 'Projects and partnerships',
165+
href: 'https://blockly.com/accessibility-projects',
166+
},
167+
],
128168
},
129169
{
130170
label: 'GitHub',
131171
href: 'https://github.com/raspberrypifoundation/blockly',
132172
position: 'right',
173+
className: 'navbar__item--show-external-icon',
133174
},
134175
],
135176
},

packages/docs/src/css/custom.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
--border-divider-footer: #dadce0;
3131
--tabs-border: #dadce0;
3232
--codeblock-background-color: #f1f3f4;
33+
--ifm-navbar-item-padding-vertical: 12px;
34+
--ifm-navbar-item-padding-horizontal: 16px;
35+
--ifm-dropdown-link-padding-vertical: 12px;
36+
--ifm-dropdown-link-padding-horizontal: 16px;
3337
}
3438

3539
/* For readability concerns, you should choose a lighter palette in dark mode. */
@@ -99,6 +103,15 @@ table th p {
99103
font-size: 19px;
100104
}
101105

106+
/* Hide external-link icons in the top nav except GitHub */
107+
.navbar [class*='iconExternalLink_'] {
108+
display: none;
109+
}
110+
111+
.navbar__item--show-external-icon [class*='iconExternalLink_'] {
112+
display: inline-block;
113+
}
114+
102115
/* footer CSS */
103116
.footer {
104117
background-color: var(--background-color-footer);

packages/docs/static/_redirects

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,11 @@
120120
/guides/contribute/samples/plugin_overview /guides/programming/plugin_overview/ 301
121121

122122
# End - Site refactoring - 2025
123+
124+
# Legacy developers.google.com/blockly marketing pages
125+
/summits/summits https://www.blockly.com/summit/home 301
126+
/summits/blockly-summit-2024 https://www.blockly.com/summit/home 301
127+
/accessibility/application https://www.blockly.com/accessibility-projects 301
128+
/accessibility-fund-recipients https://www.blockly.com/accessibility-projects 301
129+
/accessibility-fund https://www.blockly.com/accessibility-projects 301
130+
/accessibility https://www.blockly.com/accessibility 301

0 commit comments

Comments
 (0)