Skip to content

Commit a641cd0

Browse files
committed
updating docsusaurusu and updating migration
1 parent 7f93143 commit a641cd0

File tree

8 files changed

+4999
-2724
lines changed

8 files changed

+4999
-2724
lines changed

website/docs/basics/helpers-php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Render component/block partial.
4242
- @param string $type Type of content block, component, variable, etc.
4343
- @param string $parent Parent block/component name.
4444
- @param string $name Name of the partial. It can be without extension so .php is used.
45-
- @param array<string, mixed> $attributes Attributes that will be passed to partial.
45+
- @param array $attributes Attributes that will be passed to partial.
4646
- @param string $partialFolderName Partial folder name.
4747
- @throws ComponentException When we're unable to find the partial.
4848
- @return string Partial html.

website/docs/legacy/v5/basics/helpers-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Used to set and get cookie values.
131131

132132
Debounces the provided function. For more information, check [this blog post](https://davidwalsh.name/javascript-debounce-function).
133133

134-
* @param {function} func Provided function to apply debounce.
134+
* @param func Provided function to apply debounce.
135135
* @param {int} wait Wait time for debounce.
136136

137137
**Usage:**

website/docs/migrations/10-11.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
id: 10-11
3+
title: Version 10 to 11
4+
---
5+
6+
This migration guide contains migration instructions for:
7+
8+
- [eightshift/boilerplate](https://github.com/infinum/eightshift-boilerplate/releases/tag/10.0.0) - **10+ --> 11.0.0**
9+
- [eightshift/frontend-libs](https://github.com/infinum/eightshift-frontend-libs/releases/tag/8.6.2) - **8+ --> 9.0.0**
10+
- [eightshift/libs](https://github.com/infinum/eightshift-libs/releases/tag/6.5.7) - **6+ --> 7.0.0**
11+
12+
### Required changes
13+
14+
*Coming soon*
15+
16+
### Optional changes
17+
18+
*Coming soon*

website/docs/migrations/9-10.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
id: 9-10
3+
title: Version 9 to 10
4+
---
5+
6+
This migration guide contains migration instructions for:
7+
8+
- [eightshift/boilerplate](https://github.com/infinum/eightshift-boilerplate/releases/tag/10.0.0) - **9+ --> 10.0.0**
9+
- [eightshift/frontend-libs](https://github.com/infinum/eightshift-frontend-libs/releases/tag/8.6.2) - **8.6.2**
10+
- [eightshift/libs](https://github.com/infinum/eightshift-libs/releases/tag/6.5.7) - **6.5.7**
11+
12+
### Optional changes
13+
14+
- In this version we changed the way we use header and footer blocks using reusable blocks. There is no need to update your project with this changes.

website/docusaurus.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
const codeTheme = require('prism-react-renderer/themes/dracula');
1+
const {themes} = require('prism-react-renderer');
2+
3+
const darkTheme = themes.dracula;
24

35
module.exports = {
46
title: 'Eightshift Development kit',
@@ -17,7 +19,6 @@ module.exports = {
1719
}
1820
],
1921
themeConfig: {
20-
2122
navbar: {
2223
logo: {
2324
alt: 'Eightshift DevKit Logo',
@@ -108,7 +109,7 @@ module.exports = {
108109
indexName: 'infinum_eightshift',
109110
},
110111
prism: {
111-
theme: codeTheme,
112+
theme: darkTheme,
112113
additionalLanguages: ['php'],
113114
},
114115
colorMode: {

0 commit comments

Comments
 (0)